train.cpp: In function 'int dfs(int, int)':
train.cpp:30:15: error: 'C' was not declared in this scope
30 | dep = C[x] ? n: dep;
| ^
train.cpp:32:24: error: 'A' was not declared in this scope
32 | return 1 - A[x];
| ^
train.cpp:38:29: error: 'A' was not declared in this scope
38 | rep = rep | A[x];
| ^
train.cpp:42:20: error: 'A' was not declared in this scope
42 | if(A[e] == A[x])
| ^
train.cpp: In function 'vi who_wins(vi, vi, vi, vi)':
train.cpp:57:13: error: 'A' was not declared in this scope
57 | A[i] = a[i];
| ^
train.cpp:58:13: error: 'C' was not declared in this scope
58 | C[i ] = r[i];
| ^
train.cpp:68:16: error: 'A' was not declared in this scope
68 | if(A[i])
| ^