| Problem | paint |
|---|---|
| User | Teeskit |
| Submission Time | 2025-11-12 11:48:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
paint.cpp: In function ‘int main()’:
paint.cpp:26:31: error: expected ‘)’ before ‘}’ token
26 | p.push_back(a[q], b[q]});
| ~ ^
| )
paint.cpp:26:32: error: expected primary-expression before ‘)’ token
26 | p.push_back(a[q], b[q]});
| ^
paint.cpp: At global scope:
paint.cpp:29:9: error: expected constructor, destructor, or type conversion before ‘(’ token
29 | sort(p.begin(), p.end(), [](const pair<int,int> &a, const pair<int,int> &b) {
| ^
paint.cpp:31:6: error: expected unqualified-id before ‘)’ token
31 | });
| ^
paint.cpp:36:5: error: expected unqualified-id before ‘for’
36 | for (auto [i, j] : p) {
| ^~~
paint.cpp:41:5: error: ‘cout’ does not name a type
41 | cout << total;
| ^~~~
paint.cpp:42:5: error: