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

Compile Error

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