Problem conversations
User kiwiwi
Submission Time 2026-10-28 14:09:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations.cpp: In function ‘int main()’:
conversations.cpp:30:16: error: expected ‘(’ before ‘a’
30 | if a.empty() {
| ^
| (
conversations.cpp:32:15: error: expected ‘}’ before ‘else’
32 | } else {
| ^~~~
conversations.cpp:29:28: note: to match this ‘{’
29 | } else if (q == 4) {
| ^
conversations.cpp: At global scope:
conversations.cpp:37:5: error: expected unqualified-id before ‘return’
37 | return 0;
| ^~~~~~
conversations.cpp:39:1: error: expected declaration before ‘}’ token
39 | }
| ^