Problem binarysearch
User mengqi6767
Submission Time 2026-06-25 15:58:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:16:21: error: ‘q’ was not declared in this scope
16 | for (int i=0;i<q;i++){
| ^
binarysearch.cpp:41:1: error: expected ‘}’ at end of input
41 | }
| ^
binarysearch.cpp:7:14: note: to match this ‘{’
7 | signed main(){
| ^