Problem binarysearch
User SY
Submission Time 2025-06-19 16:16:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:7:12: error: ‘sync_with_stdiO’ is not a member of ‘std::ios_base’
7 | ios_base::sync_with_stdiO(false); cin.tie(0);
| ^~~~~~~~~~~~~~~
binarysearch.cpp:14:14: error: ‘r’ was not declared in this scope
14 | int l = 0; r = n-1;
| ^