| Problem | vectorindexing |
|---|---|
| User | Vistryx |
| Submission Time | 2026-06-24 09:45:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
vectorindexing.cpp: In function ‘int main()’:
vectorindexing.cpp:6:27: error: ‘X2’ was not declared in this scope
6 | vector<int> vec = {1, X2, N};
| ^~
vectorindexing.cpp:6:31: error: ‘N’ was not declared in this scope
6 | vector<int> vec = {1, X2, N};
| ^
vectorindexing.cpp:6:32: error: could not convert ‘{1, <expression error>, <expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<long long int>’
6 | vector<int> vec = {1, X2, N};
| ^
| |
| <brace-enclosed initializer list>
vectorindexing.cpp:12:13: error: expected primary-expression before ‘;’ token
12 | cout << ;
| ^