Problem | photo |
---|---|
User | Elwinthenerd |
Submission Time | 2024-12-31 11:09:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
photo.cpp: In function ‘int32_t main()’:
photo.cpp:8:2: error: ‘vector’ was not declared in this scope
8 | vector<int> a(s);
| ^~~~~~
photo.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | #define int long long
photo.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
photo.cpp:8:9: note: in expansion of macro ‘int’
8 | vector<int> a(s);
| ^~~
photo.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
photo.cpp:9:9: note: in expansion of macro ‘int’
9 | vector<int> b(s);
| ^~~
photo.cpp:11:10: error: ‘a’ was not declared in this scope
11 | cin >> a[i];
| ^
photo.cpp:14: