| Problem | paint |
|---|---|
| User | Nayaa2403 |
| Submission Time | 2026-07-07 10:54:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
paint.cpp: In function ‘int main()’:
paint.cpp:12:8: error: ‘class std::deque<std::pair<int, int> >’ has no member named ‘second’
12 | dq.second.push_back(y);
| ^~~~~~
paint.cpp:17:8: error: ‘class std::deque<std::pair<int, int> >’ has no member named ‘first’
17 | dq.first.push_back(y);
| ^~~~~
paint.cpp:22:11: error: ‘class std::deque<std::pair<int, int> >’ has no member named ‘second’
22 | t+=dq.second + i*dq.first;
| ^~~~~~
paint.cpp:22:25: error: ‘class std::deque<std::pair<int, int> >’ has no member named ‘first’
22 | t+=dq.second + i*dq.first;
| ^~~~~