Problem traineeline
User shenshiqi
Submission Time 2026-04-10 16:34:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

traineeline.cpp: In function ‘int main()’:
traineeline.cpp:47:52: error: ‘totalNum’ was not declared in this scope
47 | while (left < p.size() && p[left].first <= totalNum) left++;
| ^~~~~~~~
traineeline.cpp:59:50: error: ‘totalNum’ was not declared in this scope
59 | while (left < p.size() && p[left].first <= totalNum) left++;
| ^~~~~~~~