Problem | zanesgift |
---|---|
User | HighLithop |
Submission Time | 2025-02-09 20:35:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
zanesgift.cpp:12:24: error: ‘vector’ has not been declared
12 | ll beautiful(ll index, vector<ll>& array){
| ^~~~~~
zanesgift.cpp:12:30: error: expected ‘,’ or ‘...’ before ‘<’ token
12 | ll beautiful(ll index, vector<ll>& array){
| ^
zanesgift.cpp: In function ‘ll beautiful(ll, int)’:
zanesgift.cpp:14:25: error: ‘array’ was not declared in this scope
14 | ll lastIndex = index + array[index];
| ^~~~~
zanesgift.cpp:3:1: note: ‘std::array’ is defined in header ‘<array>’; did you forget to ‘#include <array>’?
2 | #include <limits.h>
+++ |+#include <array>
3 | typedef long long int ll;
zanesgift.cpp: In function ‘int main()’:
zanesgift.cpp:59:2: error: ‘vector’ was not declared in this scope
59 | vector<ll> array;
| ^~~~~~
zanesgift.cpp:3:1: note: ‘std::vector’ is defin