Problem conversations
User kiwiwi
Submission Time 2026-10-29 08:44:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations.cpp: In function ‘int main()’:
conversations.cpp:23:30: error: expected ‘;’ before ‘pos’
23 | a.emplace_back(c)
| ^
| ;
24 | pos[c].emplace_back(--a.end())
| ~~~
conversations.cpp:30:32: error: expected ‘;’ before ‘}’ token
30 | a.erase(it)
| ^
| ;
31 | }
| ~
conversations.cpp:32:29: error: expected ‘;’ before ‘}’ token
32 | pos.erase(d)
| ^
| ;
33 | }
| ~
conversations.cpp:38:13: error: expected ‘,’ or ‘;’ before ‘if’
38 | if (pos.count(v) && !pos[v].empty()) {
|