Problem pairsums
User hackerman123
Submission Time 2023-07-13 22:50:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairsums.cpp: In function ‘int main()’:
pairsums.cpp:7:35: error: expected ‘;’ before ‘for’
7 | vector<int> v; v.resize(100001,0)
| ^
| ;
8 | for (int i = 0; i < k; i++){
| ~~~
pairsums.cpp:8:18: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < k; i++){
| ^