Problem feast
User PlayVoltz
Submission Time 2023-12-07 19:56:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

feast.cpp: In function ‘int32_t main()’:
feast.cpp:30:20: error: ‘it’ was not declared in this scope; did you mean ‘int’?
30 | if (!s.empty()&&(*it).second<0){
| ^~
| int
feast.cpp:31:8: error: redeclaration of ‘auto it’
31 | auto it = s.end(); --it;
| ^~
feast.cpp:30:20: note: ‘<typeprefixerror>it’ previously declared here
30 | if (!s.empty()&&(*it).second<0){
| ^~