./Main.cpp: In function ‘int R()’:
./Main.cpp:9:10: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
9 | reg int x=0; reg bool f=0; reg char ch=getchar();
| ^
./Main.cpp:9:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
9 | reg int x=0; reg bool f=0; reg char ch=getchar();
| ^
./Main.cpp:9:38: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
9 | reg int x=0; reg bool f=0; reg char ch=getchar();
| ^~
./Main.cpp: At global scope:
./Main.cpp:14:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
14 | void add(reg int u,reg int v)
| ^
./Main.cpp:14:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
14 | void add(reg int u,reg int v)
| ^
./Main.cpp:18:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
18 | void dfs(reg int u,reg int dis)
| ^
./Main.cpp:18:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
18 | void dfs(reg int u,reg int dis)
| ^~~
./Main.cpp: In function ‘void dfs(int, int)’:
./Main.cpp:21:14: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
21 | for(reg int i=fir[u];i;i=nex[i])
| ^
./Main.cpp: In function ‘int main()’:
./Main.cpp:26:10: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
26 | reg int n=R(),i,j,u,v,now,cmp=0;
| ^
./Main.cpp:26:16: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
26 | reg int n=R(),i,j,u,v,now,cmp=0;
| ^
./Main.cpp:26:18: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wr...