Problem conversations_easy
User JhoCyber
Submission Time 2025-01-15 16:50:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations_easy.cpp: In function ‘int32_t main()’:
conversations_easy.cpp:19:21: error: ‘class std::stack<long long int>’ has no member named ‘erase’
19 | indexes.erase(y);
| ^~~~~
conversations_easy.cpp:31:10: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<long long int>’)
31 | cout << final_output;
| ~~~~ ^~ ~~~~~~~~~~~~
| | |
| | std::vector<long long int>
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from conversations_easy.cp