Problem pigeonhole
User Usu
Submission Time 2026-02-04 16:31:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:14:29: error: ‘K’ was not declared in this scope
14 | [](const std::pair<K, V>& a, const std::pair<K, V>& b) {
| ^
pigeonhole.cpp:14:32: error: ‘V’ was not declared in this scope
14 | [](const std::pair<K, V>& a, const std::pair<K, V>& b) {
| ^
pigeonhole.cpp:14:33: error: template argument 1 is invalid
14 | [](const std::pair<K, V>& a, const std::pair<K, V>& b) {
| ^
pigeonhole.cpp:14:33: error: template argument 2 is invalid
pigeonhole.cpp:14:55: error: ‘K’ was not declared in this scope
14 | [](const std::pair<K, V>& a, const std::pair<K, V>& b) {
| ^
pigeonhole.cpp:14:58: error: ‘V’ was not declared in this scope
14 |