Problem arrayngement
User tanhanxi195
Submission Time 2026-06-26 14:06:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:6:21: error: ‘A’ was not declared in this scope
6 | vector<int> v = {A, B};
| ^
arrayngement.cpp:6:24: error: ‘B’ was not declared in this scope
6 | vector<int> v = {A, B};
| ^
arrayngement.cpp:6:25: error: could not convert ‘{<expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<long long int>’
6 | vector<int> v = {A, B};
| ^
| |
| <brace-enclosed initializer list>