题解列表

筛选

1040简单的解法(C)

摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:如果你想证明自己不是刚刚学习一两天,可以使用这段程序。#include<stdio.h>void f(){//自定义voi……

1101: 循环(c++纯代码)

摘要:这第75行真是把我搞晕了,虽然最后过了,但还是不懂字符数组为啥用gets输入有问题。 ```cpp #include #include using namespace std; int xx……

1102: 明明的随机数

摘要:```cpp #include #include using namespace std; int main() { int N,i,j=0,b[100]; cin>>N……

1103: 开心的金明

摘要:```cpp #include using namespace std; int value[25],weigth[25]; int OPT(int total,int num) { ……

1104: Jam的计数法

摘要:```cpp #include using namespace std; int main() { char f,v[30]; int s,t,w,sum=0,flag=0……

1106: 奖学金

摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu……

1107: 纪念品分组

摘要:```cpp #include #include using namespace std; int n,k,a[30010],flag[30010]; bool cmp(int a,int ……