Problem pairsums
User taka
Submission Time 2023-01-04 22:43:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairsums.cpp: In function ‘int main()’:
pairsums.cpp:15:3: error: ‘ll’ was not declared in this scope
15 | ll n, odd{}, even{};
| ^~
pairsums.cpp:15:14: error: expected primary-expression before ‘,’ token
15 | ll n, odd{}, even{};
| ^
pairsums.cpp:15:16: error: ‘even’ was not declared in this scope
15 | ll n, odd{}, even{};
| ^~~~
pairsums.cpp:16:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
16 | cin >> n;
| ^
| yn
pairsums.cpp:17:9: error: expected ‘;’ before ‘i’
17 | for(ll i = 0; i < n; i++) {
| ^~
| ;
pairsums.cpp:17:17: error: ‘i’ was not declared in this scope
17 | for(ll i = 0; i < n; i++) {
| ^
pairsums.cpp:18:7: error: expected ‘;’ before ‘input’
18 | ll input;
| ^~~~~~
| ;
pairsums.cpp