Main.cc: In function ‘void slv()’:
Main.cc:82:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) tmp[i]=f[i];for(int i=1;i<=n;i++) f[dfn[i]]=tmp[i];
^~~
Main.cc:82:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
for(int i=1;i<=n;i++) tmp[i]=f[i];for(int i=1;i<=n;i++) f[dfn[i]]=tmp[i];
^~~
Main.cc:88:25: error: ‘reaad’ was not declared in this scope
int op=read(),k=reaad();
^~~~~
Main.cc:88:25: note: suggested alternative: ‘read’
int op=read(),k=reaad();
^~~~~
read