Problem party
User tacticalnerd
Submission Time 2024-08-27 20:30:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:11:20: error: found ‘:’ in nested-name-specifier, expected ‘::’
11 | vector<int> fof:
| ^
| ::
party.cpp:11:17: error: ‘fof’ has not been declared
11 | vector<int> fof:
| ^~~
party.cpp:12:11: error: qualified-id in declaration before ‘<’ token
12 | vector<int> tree;
| ^
party.cpp:15:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
15 | tree.push_back(value);
| ^~~~
| free
party.cpp:17:18: error: found ‘:’ in nested-name-specifier, expected ‘::’
17 | for (sublist : tree) {
| ^
| ::
party.cpp:17:10: error: ‘sublist’ has not been declared
17 | for (sublist : tree) {
| ^~~~~~~
party.cpp:26:5: error: expected primary-ex