题解列表

筛选

1204: 大小写转换

摘要:放心,题目的End of file其实没什么用,可以不处理 ```cpp #include #include using namespace std; int main() { ……

1203: 多输入输出练习2

摘要:注意事项:这里的PI必须要保留4位多一位或少一位都会出错 ```cpp #include #include #define PI 3.1415 using namespace std; i……

1201: 回文数(一)

摘要:```cpp #include #include using namespace std; bool is_huiwen(int n) { char a[100]; bo……

1200: 回文串

摘要:```cpp #include #include using namespace std; int main() { char ch[255]; bool falg=tr……

(C++)输出蛇形矩阵

摘要:解题思路:      (1)发现蛇形矩阵可以如下表示:                          1            &

c++排序问题

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

1084: 用筛法求之N内的素数

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