题解列表
BFS模版题(很模版)
摘要:
```cpp
#include
using namespace std;
typedef pair PII;
const int N=1000;
int n,end_day;
c……
1092A+B(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while(n) { int sum=0; ……
1091A+B(7)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)!=EOF) { pr……
1090A+B(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d",&n)!=EOF) { long long arr[n]; ……
1089A+B(5)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); while(n!=0) { int m; scanf("%d"……
1088A+B(4)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(scanf("%d",&n)&&n!=0) { long long arr[n]; ……
1087A+B(3)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)) { if(a==0……
1086A+B(2)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); long long a,b; while(n) { scanf(……
10845 A+B(1)(while循环输出)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)!=EOF) { pr……