Problem | pigeonhole |
---|---|
User | hwy |
Submission Time | 2023-06-17 13:25:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:21:27: error: expected ‘;’ before ‘m’
21 | cin >> status >> P
| ^
| ;
22 | m.erase(m.find(holes[(P-1)%h]));
| ~
pigeonhole.cpp:31:18: error: no match for ‘operator[]’ (operand types are ‘std::multiset<int>’ and ‘int’)
31 | cout << m[0] << '\n';
| ^