| Problem | vectorindexing |
|---|---|
| User | KylerBear11 |
| Submission Time | 2026-06-24 09:43:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
vectorindexing.cpp: In function ‘int main()’:
vectorindexing.cpp:3:18: error: ‘long int’ is not a template
3 | #define int long long
| ^~~~
vectorindexing.cpp:8:2: note: in expansion of macro ‘int’
8 | int <vector> Nums;
| ^~~
vectorindexing.cpp:3:18: error: ‘long int’ is not a template
3 | #define int long long
| ^~~~
vectorindexing.cpp:9:2: note: in expansion of macro ‘int’
9 | int <vector> Queries;
| ^~~
vectorindexing.cpp:14:8: error: request for member ‘push_back’ in ‘Nums’, which is of non-class type ‘long long int’
14 | Nums.push_back(TempNum);
| ^~~~~~~~~
vectorindexing.cpp:19:11: error: request for member ‘push_back’ in ‘Queries’, which is of non-class type ‘long long int’
19 | Queries.push_back(TempNum);
| ^~~~~~~~~
vectorindexing.cpp:23:16: error: ‘begin’ was not declared in this scope