Problem duckhunt5
User piecat
Submission Time 2026-12-01 13:17:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:21:13: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long long int>’ and ‘const long long int’)
21 | cout << S[*S.lower_bound(b)];
| ^