Problem | pairsums |
---|---|
User | yeddy |
Submission Time | 2024-08-25 17:18:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pairsums.cpp: In function ‘int main()’:
pairsums.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
pairsums.cpp:5:5: error: ‘vector’ was not declared in this scope
5 | vector<int> arr(N);
| ^~~~~~
pairsums.cpp:5:12: error: expected primary-expression before ‘int’
5 | vector<int> arr(N);
| ^~~
pairsums.cpp:12:16: error: ‘arr’ was not declared in this scope
12 | cin >> arr[i];
| ^~~
pairsums.cpp:24:5: error: ‘cout’ was not declared in this scope
24 | cout << sum << endl;
| ^~~~
pairsums.cpp:24:20: error: ‘endl’ was not declared in this scope
24 | cout << sum << endl;
| ^~~~