| Problem | packaging |
|---|---|
| User | MegaG |
| Submission Time | 2026-01-16 16:22:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
packaging.cpp: In function ‘int main()’:
packaging.cpp:15:2: error: ‘deque’ was not declared in this scope
15 | deque<int> arr(n);
| ^~~~~
packaging.cpp:4:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
3 | #include <cmath>
+++ |+#include <deque>
4 | #define int long long
packaging.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
packaging.cpp:15:8: note: in expansion of macro ‘int’
15 | deque<int> arr(n);
| ^~~
packaging.cpp:18:3: error: ‘arr’ was not declared in this scope
18 | arr.push_back(a);
| ^~~
packaging.cpp:21:7: error: ‘arr’ was not declared in this scope
21 | sort(arr.begin(), arr.end(), greater<int>());
| ^~~