Problem binarysearch
User spambot696969
Submission Time 2026-06-25 15:02:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp:6:16: error: stray ‘#’ in program
6 | cin >> n >> q;#include <bits/stdc++.h>
| ^
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:6:17: error: ‘include’ was not declared in this scope
6 | cin >> n >> q;#include <bits/stdc++.h>
| ^~~~~~~
binarysearch.cpp:6:26: error: ‘bits’ was not declared in this scope
6 | cin >> n >> q;#include <bits/stdc++.h>
| ^~~~
binarysearch.cpp:6:31: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
6 | cin >> n >> q;#include <bits/stdc++.h>
| ^~~~
| std
binarysearch.cpp:7:1: error: expected primary-expression before ‘using’
7 | using namespace std;
| ^~~~~
binarysearch.cpp:9:11: error: a function-definition is not allowed