题解列表

筛选

1981: 输出M到N的数

摘要:无脑打印。#include<bits/stdc++.h> using namespace std; int main(){     int a,b;     cin >> a >> b; ……

1985: 分段计算

摘要:#include<bits/stdc++.h> using namespace std; int main(){     int x;     cin >> x;     if(x<3)……

2630: 又一个送分题

摘要:#include <bits/stdc++.h> using namespace std; int main(){     int n,a;     cin >> n;     doub……

1250: 素数回文

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; bool sushu(int &n){//判断素数     if(n……

1999: 回文判断

摘要:equal 无脑往上拍。#include <bits/stdc++.h> using namespace std; int main(){     string s;     getlin……

1477: 字符串输入输出函数

摘要:简单题。#include<iostream> using namespace std; int main() {        double n;     string s;     co……

1203: 多输入输出练习2

摘要:#include <bits/stdc++.h> using namespace std; int main(){     const double PI = 3.1415;//PI要取到四……

1202: 多输入输出练习1

摘要:#include <bits/stdc++.h> using namespace std; //以空格为分隔符分割字符串 vector<int> split(const string &s,……

1200: 回文串

摘要:回文串判断,直接 equal 函数往上拍。#include <bits/stdc++.h> using namespace std; int main(){     string s;  ……