# 1번째 컴파일 단계
encoder.cpp: In function 'void generate(int)':
encoder.cpp:5:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
5 | cnt=0;
| ^~~
| int
encoder.cpp:11:42: error: 'v' was not declared in this scope
11 | v[cnt].pb(i); v[cnt].pb(j); v[cnt].pb(k); v[cnt].pb(o); cnt++;
| ^
encoder.cpp: In function 'void encode(int, int*)':
encoder.cpp:23:9: error: 'll' was not declared in this scope
23 | ll n=N;
| ^~
encoder.cpp:24:11: error: expected ';' before 'pw'
24 | ll pw[10];
| ^~~
| ;
encoder.cpp:25:9: error: 'pw' was not declared in this scope
25 | pw[0]=1;
| ^~
encoder.cpp:26:11: error: expected ';' before 'x'
26 | ll x=0;
| ^~
| ;
encoder.cpp:28:9: error: 'vector' was not declared in this scope
28 | vector <ll> v2[n+5];
| ^~~~~~
encoder.cpp:28:21: error: 'v2' was not declared in this scope
28 | vector <ll> v2[n+5];
| ^~
encoder.cpp:28:24: error: 'n' was not declared in this scope
28 | vector <ll> v2[n+5];
| ^
encoder.cpp:30:17: error: 'x' was not declared in this scope
30 | x=0;
| ^
encoder.cpp:37:11: error: expected ';' before 'st'
37 | ll st[10],ind,k,num[10];
| ^~~
| ;
encoder.cpp:41:17: error: 'st' was not declared in this scope; did you mean 'std'?
41 | st[0]=v[M[i]][0]; st[1]=st[0]+v[M[i]][1];
| ^~
| std
encoder.cpp:41:23: error: 'v' was not declared in this scope
41 | st[0]=v[M[i]][0]; st[1]=st[0]+v[M[i]][1];
| ^
encoder.cpp:43:17: error: 'ind' was not declared in this scope; did you mean 'int'?
43 | ind=0;
| ^~~
| int
encoder.cpp:44:17: error: 'k' was not declared in this scope
44 | k=0;
| ^