题解列表

筛选

只是写写注意事项

摘要:解题思路:注意事项:参考代码:int main(){    printf("Hello, World!");    return 0;}//注意要写一个空格在逗号后面……

编写题解 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……

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;……