| Problem | arrayfind |
|---|---|
| User | ZhangChi |
| Submission Time | 2026-11-04 14:38:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:20:25: error: ‘q’ was not declared in this scope
20 | for (int i = 0; i < q; i++) {
| ^
arrayfind.cpp:24:28: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
24 | int l = upper_bound(a,a+n,k);
| ~~~~~~~~~~~^~~~~~~~~
| |
| int*