Problem spreadsheet
User saltycandyy
Submission Time 2025-06-19 09:56:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spreadsheet.cpp: In function ‘int main()’:
spreadsheet.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N >> P >> K;
| ^~~
spreadsheet.cpp:4:5: error: ‘vector’ was not declared in this scope
4 | vector <long long> v;
| ^~~~~~
spreadsheet.cpp:4:13: error: expected primary-expression before ‘long’
4 | vector <long long> v;
| ^~~~
spreadsheet.cpp:9:21: error: ‘v’ was not declared in this scope
9 | if (v.size() == 0){
| ^
spreadsheet.cpp:21:17: error: ‘cout’ was not declared in this scope
21 | cout << "added: " << add << '\n';
| ^~~~
spreadsheet.cpp:22:17: error: ‘v’ was not declared in this scope
22 | v.push_back(add);
| ^
spreadsheet.cpp:27:9: error: ‘cout’ was not declared in this s