题解列表

筛选

求整数的和与均值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){      int a[10000],i,n;      double ave,s=0;      scanf("……

最高的分数

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

1191: 化学品问题

摘要:```cpp #include #include using namespace std; int t,n,m; long long dp[35][35][35]; long long D……

1192: 十->二进制转换

摘要:```cpp #include #include using namespace std; int n,flag=0; vectorarr; void BinaryChange(int n……

1193: 半数集问题

摘要:```cpp #include #include using namespace std; int a[1005]; int f(int n) { if(a[n]) ……

1194: 去括号

摘要:```cpp #include #include #include #include using namespace std; int main() { string c; ……

统计数字字符个数

摘要:、解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){      int i,n=0;      char a[255];    ……

1196: 去掉空格

摘要:```cpp #include #include using namespace std; int main() { string str,temp; while(get……