| Problem | arrayfind |
|---|---|
| User | alice157050 |
| Submission Time | 2026-06-25 16:39:24 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:17:23: error: ‘n’ was not declared in this scope
17 | int greater = n - (upper_bound(a.begin(), a.end(), x) - a.begin());
| ^