| Problem | bookshelf |
|---|---|
| User | huangchengcheng |
| Submission Time | 2026-04-27 20:05:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bookshelf.cpp: In function ‘int main()’:
bookshelf.cpp:38:24: error: ‘dq’ was not declared in this scope
38 | auto ub=upper_bound(dq.begin(),dq.end(),k); // 1 2 3 4 5
| ^~
bookshelf.cpp:40:15: error: ‘v’ was not declared in this scope
40 | cout << ub-v.begin();
| ^
bookshelf.cpp:46:24: error: ‘dq’ was not declared in this scope
46 | auto lb=lower_bound(dq.begin(),dq.end(),k); // 1 2 3 4 5 6
| ^~
bookshelf.cpp:47:12: error: ‘v’ was not declared in this scope
47 | cout << v.end()-lb;
| ^