| Problem | vectorindexing |
|---|---|
| User | alice157050 |
| Submission Time | 2026-06-24 09:33:07 |
| 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); // store input into A named Y
| ^
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); // store input into A named Y
| ^
| ;
vectorindexing.cpp:10:16: error: ‘A’ was not declared in this scope
10 | vector<int> Y(A); // store input into A named Y
| ^
vectorindexing.cpp:10:18: error: expected ‘)’ before ‘;’ token
10 | vector<int> Y(A); // store input into A named Y
| ^
| )
vecto