Problem motivation
User Henries
Submission Time 2024-11-22 00:14:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

motivation.cpp: In function ‘void solve()’:
motivation.cpp:8:6: error: ‘rest’ was not declared in this scope
8 | if(rest[i] == 0){
| ^~~~
motivation.cpp:9:19: error: ‘times’ was not declared in this scope; did you mean ‘time’?
9 | available.push(times[i]);
| ^~~~~
| time