| Problem | paint |
|---|---|
| User | Nayaa2403 |
| Submission Time | 2026-07-07 10:55:21 |
| 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] + i*dq.first[i];
| ^~~~~~
paint.cpp:22:28: error: ‘class std::deque<std::pair<int, int> >’ has no member named ‘first’
22 | t+=dq.second[i] + i*dq.first[i];
| ^~~~~