Problem routine
User estkn
Submission Time 2026-07-03 14:30:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

routine.cpp: In function ‘int main()’:
routine.cpp:25:5: error: expected ‘}’ before ‘else’
25 | { else if( n==ansi){
| ~ ^~~~
routine.cpp:25:5: error: expected ‘}’ before ‘else’
routine.cpp:23:21: note: to match this ‘{’
23 | if (q == T[ansi]) {
| ^