题解列表

筛选

编写题解 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#includeusingnamespacestd;inttot=1,ans=2,now=1,a[101][101];intmain(){intn,i=1,j=2;cin>>n;cout

dfedgfggdsgfrgzfvdfvdfwefdsfszf

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;……

蓝桥杯做题笔记 求阶乘xxxxx

importjava.io.IOException;importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args)throwsIOException{Scannerscanner=newScanner(System.