| Problem | vectorindexing |
|---|---|
| User | alice157050 |
| Submission Time | 2026-06-24 09:36:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
vectorindexing.cpp: In function ‘int main()’:
vectorindexing.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i = 0, i < N, i++){
| ^
vectorindexing.cpp:10:15: error: expected initializer before ‘(’ token
10 | vector<int> Y(A);
| ^
vectorindexing.cpp:10:15: error: could not convert ‘Y’ from ‘std::vector<long long int>’ to ‘bool’
vectorindexing.cpp:10:15: error: expected ‘;’ before ‘(’ token
10 | vector<int> Y(A);
| ^
| ;
vectorindexing.cpp:10:16: error: ‘A’ was not declared in this scope
10 | vector<int> Y(A);
| ^
vectorindexing.cpp:10:18: error: expected ‘)’ before ‘;’ token
10 | vector<int> Y(A);
| ^
| )
vectorindexing.cpp:7:6: note: to match this ‘(’
7 | for (i = 0, i < N, i++){
| ^
vectorindexing.c