Problem paint
User beefburger
Submission Time 2026-02-17 23:45:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int main()’:
paint.cpp:13:17: error: ‘tem’ was not declared in this scope; did you mean ‘temp’?
13 | job.push_back(tem);
| ^~~
| temp
paint.cpp:23:15: error: no match for call to ‘(std::vector<int>) (int&)’
23 | temp = job(i);
| ^
paint.cpp:24:22: error: no match for call to ‘(std::vector<int>) (int&)’
24 | res += temp + inc(i);
| ^