Problem | eatingparallelograms |
---|---|
User | jambusk |
Submission Time | 2025-06-20 14:15:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:9:5: error: ‘vector’ was not declared in this scope
9 | vector<int> p(n);
| ^~~~~~
eatingparallelograms.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | using namespace std;
eatingparallelograms.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
eatingparallelograms.cpp:9:12: note: in expansion of macro ‘int’
9 | vector<int> p(n);
| ^~~
eatingparallelograms.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
eatingparallelograms.cpp:10:12: note: in expansion of macro ‘int’
10 | vector<int> s(n);
| ^~~
eatingpa