Problem | goodchef |
---|---|
User | YellowPurpleDragon |
Submission Time | 2025-02-08 16:17:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodchef.cpp: In function ‘int main()’:
goodchef.cpp:26:16: error: ‘std::map<long long int, std::multiset<long long int, std::greater<long long int> > >::mapped_type’ {aka ‘class std::multiset<long long int, std::greater<long long int> >’} has no member named ‘top’
26 | s += f[i].top();
| ^~~
goodchef.cpp:27:11: error: ‘std::map<long long int, std::multiset<long long int, std::greater<long long int> > >::mapped_type’ {aka ‘class std::multiset<long long int, std::greater<long long int> >’} has no member named ‘pop’
27 | f[i].pop();
| ^~~