Problem shamelessad4
User Henries
Submission Time 2024-12-11 12:51:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad4.cpp: In function ‘int main()’:
shamelessad4.cpp:106:2: error: ‘ios_base’ has not been declared
106 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
shamelessad4.cpp:107:5: error: ‘cin’ was not declared in this scope
107 | cin.tie(0);
| ^~~
shamelessad4.cpp:108:5: error: ‘cout’ was not declared in this scope
108 | cout.tie(0);
| ^~~~
shamelessad4.cpp:109:12: error: ‘n’ was not declared in this scope
109 | cin >> n >> q;
| ^
shamelessad4.cpp:109:17: error: ‘q’ was not declared in this scope
109 | cin >> n >> q;
| ^
shamelessad4.cpp:110:5: error: ‘v’ was not declared in this scope
110 | v.resize(n);
| ^