Problem pairsums
User ATHY
Submission Time 2024-08-09 09:31:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairsums.cpp: In function ‘int main()’:
pairsums.cpp:8:2: error: expected ‘,’ or ‘;’ before ‘for’
8 | for (ll i=0; i<n; i++) {
| ^~~
pairsums.cpp:8:15: error: ‘i’ was not declared in this scope
8 | for (ll i=0; i<n; i++) {
| ^
pairsums.cpp:18:3: error: break statement not within loop or switch
18 | break;
| ^~~~~