0_0_39053236_19336.cpp:2:16: error: expected constructor, destructor, or type conversion before '(' token
2 | rep(i,0,sz[u]){
| ^
0_0_39053236_19336.cpp:5:9: error: expected declaration before '}' token
5 | }
| ^
0_0_39053236_19336.cpp:6:5: error: expected declaration before '}' token
6 | }
| ^
0_0_39053236_19336.cpp:7:8: error: expected constructor, destructor, or type conversion before '(' token
7 | rep(a,0,4){
| ^
0_0_39053236_19336.cpp:12:1: error: expected declaration before '}' token
12 | }
| ^
0_0_39053236_19336.cpp: In function 'int main()':
0_0_39053236_19336.cpp:14:17: error: 'T' was not declared in this scope
14 | scanf("%d",&T);
| ^
0_0_39053236_19336.cpp:14:5: error: 'scanf' was not declared in this scope
14 | scanf("%d",&T);
| ^~~~~
0_0_39053236_19336.cpp:16:13: error: 'n' was not declared in this scope
16 | sci(n);
| ^
0_0_39053236_19336.cpp:16:9: error: 'sci' was not declared in this scope
16 | sci(n);
| ^~~
0_0_39053236_19336.cpp:17:13: error: 'i' was not declared in this scope
17 | rep(i,1,n){
| ^
0_0_39053236_19336.cpp:17:9: error: 'rep' was not declared in this scope
17 | rep(i,1,n){
| ^~~
0_0_39053236_19336.cpp:21:16: error: 'f' was not declared in this scope
21 | memset(f,0,sizeof f);
| ^
0_0_39053236_19336.cpp:21:9: error: 'memset' was not declared in this scope
21 | memset(f,0,sizeof f);
| ^~~~~~
0_0_39053236_19336.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 |
0_0_39053236_19336.cpp:27:9: error: 'dfs' was not declared in this scope
27 | dfs(1,0);
| ^~~
0_0_39053236_19336.cpp:28:9: error: 'printf' was not declared in this scope
28 | printf("%d %d\n",f[0][1][0],f[4][1][0]);
| ^~~~~~
0_0_39053236_19336.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 |
|