Problem binarysearch
User yq
Submission Time 2026-06-25 15:03:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:7:26: error: expected ‘;’ before ‘vector’
7 | sort(A.begin(), A.end())
| ^
| ;
8 | vector<int> K(Q);
| ~~~~~~
binarysearch.cpp:12:10: error: ‘K’ was not declared in this scope
12 | cin >> K[j] ;
| ^