题解列表

筛选

过滤多余的空格(Java)

摘要:解题思路:注意事项:参考代码:public static void main(String args[]) { Scanner sc=new Scanner(System.in); Str……

大整数乘法C++

摘要://大整数乘法#include <bits/stdc++.h>using namespace std;int na[2005], nb[2005], nc[4010];string mul(strin……

字符串判等(简介)

摘要:解题思路:注意事项:参考代码:package arrLast; //题目 2860: 字符串判等 import java.util.Scanner; public class t_2860 { ……

模拟计算器

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b;    char c;    cin>>a>>……

编写题解 2790: 分段函数

摘要:解题思路:注意事项:参考代码#include <iostream>using namespace std;int main(){    float x,y;    cin>>x;    if(x>=0……

编写题解 2792: 三角形判断

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b,c;    cin >>a>>b>>c;   ……

编写题解 2791: 计算邮资

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int c = 0;    int a;    cin>>a; ……

编写题解 2794: 求平均年龄

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int n;    cin >> n;    int sum = ……