题解列表

筛选

编写题解 2917: 奇数单增序列

摘要:解题思路://给定一个长度为N(不大于500)的正整数序列,请将其中的所有奇数取出,并按升序输出。 #include <stdio.h> void sort(int arr[], int sz);……

新手都能看懂的链表合并

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int n,m;    scanf("%d%d",&n,&m);    int a[n+m][2];  ……

收费(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     double x,s;     scanf("%lf",&x);     if(x<=20)     {……

水题计算空格数即可

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<cstring>using namespace std;const int N = ……

1951: 求平方和

摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout……

1866: 三位数反转

摘要:这道题我居然错了四次,我真是要吐了,如果也有像我一样的小伙伴,那就把代码贴过去吧。 ```cpp #include using namespace std; int main() { ……