Problem ancestor
User CKCodeBreaker55
Submission Time 2026-02-20 15:07:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ancestor.cpp: In function ‘int main()’:
ancestor.cpp:74:16: error: expected ‘;’ before ‘vector’
74 | cin >> n >> m
| ^
| ;
75 | vector<vector<int>> adj(n);
| ~~~~~~
ancestor.cpp:79:2: error: ‘adj’ was not declared in this scope
79 | adj[a].push_back(b);
| ^~~
ancestor.cpp:82:26: error: ‘adj’ was not declared in this scope
82 | BinaryLifting bl(n, 0, adj);
| ^~~