decoder.cpp:50:28: error: stray '#' in program
50 | for(int i=0; i<h; i++) {#include "grader.h"
| ^
decoder.cpp: In function 'void decode(int, int)':
decoder.cpp:50:29: error: 'include' was not declared in this scope
50 | for(int i=0; i<h; i++) {#include "grader.h"
| ^~~~~~~
decoder.cpp:75:24: error: a function-definition is not allowed here before '{' token
75 | static void dfs(int x) {
| ^
decoder.cpp:85:54: error: a function-definition is not allowed here before '{' token
85 | void encode(int nv, int nh, int ne, int *v1, int *v2){
| ^
decoder.cpp:66:10: warning: unused variable 'INF' [-Wunused-variable]
66 | const ll INF = 1e18;
| ^~~
decoder.cpp:67:11: warning: unused variable 'inf' [-Wunused-variable]
67 | const int inf = 1e9;
| ^~~
decoder.cpp:69:15: warning: unused variable 'h' [-Wunused-variable]
69 | static int n, h, m;
| ^
decoder.cpp:69:18: warning: unused variable 'm' [-Wunused-variable]
69 | static int n, h, m;
| ^
decoder.cpp:72:12: warning: unused variable 'p' [-Wunused-variable]
72 | static int p[1010];
| ^
decoder.cpp:73:13: warning: unused variable 'chk' [-Wunused-variable]
73 | static bool chk[1010];
| ^~~
decoder.cpp: At global scope:
decoder.cpp:73:13: warning: 'chk' defined but not used [-Wunused-variable]
decoder.cpp:72:12: warning: 'p' defined but not used [-Wunused-variable]
72 | static int p[1010];
| ^
decoder.cpp:69:18: warning: 'm' defined but not used [-Wunused-variable]
69 | static int n, h, m;
| ^
decoder.cpp:69:15: warning: 'h' defined but not used [-Wunused-variable]
69 | static int n, h, m;
| ^