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

Compile Error

conversations_easy.cpp: In function ‘int32_t main()’:
conversations_easy.cpp:12:16: error: ‘action’ was not declared in this scope; did you mean ‘actions’?
12 | cin >> action[i];
| ^~~~~~
| actions
conversations_easy.cpp:18:20: error: ‘y’ was not declared in this scope
18 | cin >> y;
| ^
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<