Problem | pairsums |
---|---|
User | YongXin |
Submission Time | 2023-06-02 12:35:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pairsums.cpp: In function ‘int main()’:
pairsums.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0;i<n;++i) cin>>a[i];
| ^
pairsums.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=0;i<n-1;++i){
| ^
pairsums.cpp:9:8: error: ‘j’ was not declared in this scope
9 | for (j=i+1;j<n;++j){
| ^