题解列表
编写题解 2999: 牛吃牧草
摘要:解题思路:先把可能算出来 for (int i = 1; i <= 500; i++)
for (int j = 1; j <= 500; j++)
2772: 苹果和虫子
摘要:解题思路:注意事项:参考代码:import mathn, x, y = map(int,input().strip().split())print(math.floor(n - y / x)) ……
二维数组右上左下遍历
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,j,k; scanf("%d %d",&m,&n); int a[m][n……
吾乃元始天尊!!!1121: C语言训练-8除不尽的数
摘要:```c
#include
int main()
{
printf("1993\n");
return 0;
}
//还是那句话,我略微出手,便已是这一分段的极限了!!!……
吾乃元始天尊!!!1122: C语言训练-亲密数
摘要:```c
#include
int main()
{
printf("(220,284)(1184,1210)(2620,2924)");
return 0;
}
//为……
1761: 学习ASCII码
摘要:解题思路:爱要就抄注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
cout<<"116 ?";
……
2899: 蛇形填充数组
摘要:```cpp
#include
#include
#include
using namespace std;
int tot=1,ans=2,now=1,a[101][101];
int ……
dfedgfggdsgfrgzfvdfvdfwefdsfszf
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;……
之前那个写错了,抱歉抱歉,谢谢你们的提醒
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c,d,x; scanf("%lf%lf%lf%lf%lf",&x,&a,&b……