Problem manyjobs
User boomphcoding
Submission Time 2026-02-16 16:34:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

manyjobs.cpp: In function ‘int main()’:
manyjobs.cpp:17:8: error: assignment of read-only location ‘time’
17 | time += p.second;
| ~~~~~^~~~~~~~~~~
manyjobs.cpp:18:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
18 | if(time <= p.first) continue;
| ^~~~~