| Problem | GSS |
|---|---|
| User | estkn |
| Submission Time | 2026-11-03 15:07:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> n;
| ^~~
GSS.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 |
GSS.cpp:8:2: error: ‘deque’ was not declared in this scope
8 | deque<int> leon(n);
| ^~~~~
GSS.cpp:1:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
+++ |+#include <deque>
1 |
GSS.cpp:8:8: error: expected primary-expression before ‘int’
8 | deque<int> leon(n);
| ^~~
GSS.cpp:9:21: error: ‘leon’ was not declared in this scope
9 | for (auto &thing : leon)
| ^~~~
GSS.cpp:11:7: error: ‘leon’ was not declared in this scope
11 | sort(leon.begin(), leon.end(), greater<int>());
| ^~~~