Problem mrt
User sharelletqx
Submission Time 2026-08-01 11:28:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘int main()’:
mrt.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
mrt.cpp:5:2: note: in expansion of macro ‘int’
5 | int N,E,Q;
| ^~~
mrt.cpp:5:6: error: ‘N’ was not declared in this scope
5 | int N,E,Q;
| ^
mrt.cpp:5:8: error: ‘E’ was not declared in this scope
5 | int N,E,Q;
| ^
mrt.cpp:5:10: error: ‘Q’ was not declared in this scope
5 | int N,E,Q;
| ^
mrt.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
mrt.cpp:7:2: note: in expansion of macro ‘int’
7 | int adj[N][N];
| ^~~
mrt.cpp:7:6: error: ‘adj’ was not declared in this scope
7 | int adj[N][N];
| ^~~
mrt.cpp:2:18: error: declaration does not declare anything [-fpermissive]