Problem labs
User god
Submission Time 2025-06-18 16:24:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

labs.cpp: In function ‘int main()’:
labs.cpp:7:22: error: expected ‘;’ before ‘int’
7 | cin >> no_of_queries
| ^
| ;
8 | int command_no;
| ~~~
labs.cpp:13:10: error: ‘command_no’ was not declared in this scope
13 | cin >> command_no;
| ^~~~~~~~~~
labs.cpp:19:15: error: expected ‘;’ before ‘for’
19 | counter = 0
| ^
| ;
20 | for(auto it : trainers) {
| ~~~