[ New Thread ]
Problem 4339 >> 错误20%,求大佬看一下到底有啥问题 |
202010060203 @ 2022-05-28 16:37:09
```C++ #include<iostream> using namespace std; int main() { int a[100000]; int n,i,aa,bb; cin>>n; for(i=0;i<n;i++) { cin>>aa; cin>>bb; a[i]=aa+bb; } for(i=0;a[i]!=0;i++) { cout<<a[i]<<endl; } return 0; } ``` |