题解列表

筛选

2880: 计算鞍点

摘要:解题思路:int main() {     for(int i=1;i<=5;i++)//双重循环1     {         for(int j=1;j<=5;j++)//双重循环2  ……

3005: 糖果游戏 c语言

摘要:糖果游戏,注意第一个小朋友和最后一个小朋友的情况即可 ```c #include int main() { int a[6],b,c,d,f,a1,b1,c1,d1,f1; ……

1852: 求1+2+3+...+n的值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sum(long long n){    long long ……

1852: 求1+2+3+...+n的值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,m,b,sum=0;long long gaosi(lon……

苹果和虫子

摘要:```c #include int main() { int x,y,n,a; scanf("%d %d %d",&n,&x,&y); a=n-(y/x); ……