Problem mrt
User YellowPurpleDragon
Submission Time 2025-03-13 11:17:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mrt.cpp: In function ‘int main()’:
mrt.cpp:17:9: error: ‘a’ was not declared in this scope
17 | bool m[a+1][a+1];
| ^
mrt.cpp:25:16: error: ‘j’ was not declared in this scope
25 | if (i==k) {j[i][k]=0;}
| ^
mrt.cpp:26:11: error: ‘j’ was not declared in this scope
26 | else {j[i][k]=LONG_LONG_MAX;}
| ^
mrt.cpp:41:28: error: ‘j’ was not declared in this scope
41 | ll k=h.top().second, l=j[n][k];
| ^
mrt.cpp:43:9: error: ‘m’ was not declared in this scope
43 | if (m[n][(ul)k]) continue;
| ^
mrt.cpp:44:5: error: ‘m’ was not declared in this scope
44 | m[n][(ul)k]=true;
| ^
mrt.cpp:62:8: error: ‘j’ was not declared in this scope
62 | if (j[cna][cnb] == LONG_LONG_MAX) {
| ^