Problem poi
User burningout
Submission Time 2025-02-16 04:03:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

poi.cpp: In function ‘int main()’:
poi.cpp:6:5: error: expected ‘;’ before ‘n’
6 | cin n >> t >> p;
| ^~
| ;
poi.cpp:10:8: error: ‘j’ was not declared in this scope
10 | for (j=0;j<t;j++){ // j stands for id of task -> j = 1 -> task 1
| ^
poi.cpp:27:1: error: expected ‘}’ at end of input
27 | }
| ^
poi.cpp:4:13: note: to match this ‘{’
4 | int main () {
| ^