Problem | pairsums |
---|---|
User | eliasxyz |
Submission Time | 2025-05-24 19:14:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pairsums.cpp: In function ‘int main()’:
pairsums.cpp:8:6: error: ‘i’ was not declared in this scope
8 | for(i=0;i<n;i++){
| ^
pairsums.cpp:15:15: error: expected ‘;’ before ‘return’
15 | cout<<k*(n-k)
| ^
| ;
16 | return 0;
| ~~~~~~