Problem platonic16
User ilikeeggs
Submission Time 2026-01-20 09:02:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic16.cpp: In function ‘int32_t main()’:
platonic16.cpp:22:30: error: expected ‘)’ before ‘;’ token
22 | sort(w.rbegin(), w.rend();
| ~ ^
| )
platonic16.cpp:25:21: error: ‘i’ was not declared in this scope
25 | ans.push_back(w[i].second);
| ^