| Problem | binarysearch |
|---|---|
| User | stefiewefieslays |
| Submission Time | 2026-06-25 15:10:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binarysearch.cpp: In function ‘int main()’:
binarysearch.cpp:13:17: error: ‘n’ was not declared in this scope
13 | for (int i=0;i<n;i++) {
| ^
binarysearch.cpp:17:11: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘long long int [N]’
17 | sort(arr.begin(),arr.end());
| ^~~~~
binarysearch.cpp:17:23: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘long long int [N]’
17 | sort(arr.begin(),arr.end());
| ^~~