Problem binarysearch
User yuanbin
Submission Time 2026-07-07 18:52:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:18:13: error: ‘numbers’ was not declared in this scope
18 | if (it != numbers.end() && *it == target) {
| ^~~~~~~
binarysearch.cpp:18:37: error: ‘target’ was not declared in this scope
18 | if (it != numbers.end() && *it == target) {
| ^~~~~~