Problem conversations
User PerihelionfromAphelion
Submission Time 2026-08-30 11:44:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations.cpp: In function ‘int32_t main()’:
conversations.cpp:33:26: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘std::pair<long long int, long long int>’})
33 | if (!qu.empty()) cout << qu.front() << "\n";
| ~~~~ ^~ ~~~~~~~~~~
| | |
| | __gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type {aka std::pair<long long int, long long int>}
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/istream:39,