0_0_39829141_22482.cpp:1:9: error: expected declaration before '}' token
1 | }
| ^
0_0_39829141_22482.cpp:9:20: error: 't' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^
0_0_39829141_22482.cpp:9:28: error: 'c' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^
0_0_39829141_22482.cpp:9:30: error: 'a' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^
0_0_39829141_22482.cpp:9:24: error: 'abs' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^~~
0_0_39829141_22482.cpp:9:39: error: 'd' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^
0_0_39829141_22482.cpp:9:41: error: 'b' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^
0_0_39829141_22482.cpp:9:35: error: 'abs' was not declared in this scope
9 | int tmp = t - abs(c-a) - abs(d-b);
| ^~~
0_0_39829141_22482.cpp:10:9: error: expected unqualified-id before 'if'
10 | if (tmp % 2) {puts("NO"); continue;}
| ^~
0_0_39829141_22482.cpp:11:9: error: 'visited' does not name a type
11 | visited[a][b] = 1;
| ^~~~~~~
0_0_39829141_22482.cpp:12:9: error: 'flag' does not name a type
12 | flag = 0;
| ^~~~
0_0_39829141_22482.cpp:13:12: error: expected constructor, destructor, or type conversion before '(' token
13 | dfs(a, b, 0);
| ^
0_0_39829141_22482.cpp:14:9: error: expected unqualified-id before 'if'
14 | if(flag) puts("YES");
| ^~
0_0_39829141_22482.cpp:15:9: error: expected unqualified-id before 'else'
15 | else puts("NO");
| ^~~~
0_0_39829141_22482.cpp:16:5: error: expected declaration before '}' token
16 | }
| ^
0_0_39829141_22482.cpp:17:5: error: expected unqualified-id before 'return'
17 | return 0;
| ^~~~~~
0_0_39829141_22482.cpp:18:1: error: expected declaration before '}' token
18 | }
| ^
|