Problem ancestor
User ilikeeggs
Submission Time 2026-01-17 23:04:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ancestor.cpp: In function ‘int32_t main()’:
ancestor.cpp:34:25: error: expected ‘;’ before ‘long’
34 | cin.tie(0); cout.tie(0)
| ^
| ;
ancestor.cpp:36:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
36 | int n; cin>>n;
| ^
| yn