Problem anutforajaroftuna
User G
Submission Time 2024-03-13 15:44:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

anutforajaroftuna.cpp: In function ‘int main()’:
anutforajaroftuna.cpp:16:3: error: ‘mid’ was not declared in this scope
16 | mid=(hi+lo)/2;
| ^~~
anutforajaroftuna.cpp:17:3: error: ‘nB’ was not declared in this scope; did you mean ‘nA’?
17 | nB=0;
| ^~
| nA
anutforajaroftuna.cpp:30:16: error: expected ‘}’ at end of input
30 | cout << k << t;
| ^
anutforajaroftuna.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^