Problem atm
User chenweilian
Submission Time 2023-08-15 21:30:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atm.cpp: In function ‘int main()’:
atm.cpp:103:11: error: expected ‘;’ before ‘for’
103 | cin>>s
| ^
| ;
atm.cpp:104:9: error: ‘i’ was not declared in this scope
104 | rep(i,1,n) if(!dfn[i]) tarjan(i);
| ^
atm.cpp:7:34: note: in definition of macro ‘rep’
7 | #define rep(i,a,n) for(int i = a;i <= n;i++)
| ^