Problem | paint |
---|---|
User | NsNassCode |
Submission Time | 2024-07-11 16:39:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
paint.cpp:2:1: error: ‘cin’ does not name a type
2 | cin >> num_jobs;
| ^~~
paint.cpp:4:1: error: ‘vector’ does not name a type
4 | vector<Job> jobs(num_jobs);
| ^~~~~~
paint.cpp:7:1: error: expected unqualified-id before ‘for’
7 | for (int i = 0; i < num_jobs; ++i) {
| ^~~
paint.cpp:7:17: error: ‘i’ does not name a type
7 | for (int i = 0; i < num_jobs; ++i) {
| ^
paint.cpp:7:31: error: expected unqualified-id before ‘++’ token
7 | for (int i = 0; i < num_jobs; ++i) {
| ^~
paint.cpp:12:1: error: expected unqualified-id before ‘for’
12 | for (int i = 0; i < num_jobs; ++i) {
| ^~~
paint.cpp:12:17: error: ‘i’ does not name a type
12 | for (int i = 0; i < num_jobs; ++i) {
| ^
paint.cpp:12:31: error: expected unqualified-id before ‘++’ token
12 | for (int i = 0; i <