| Problem | descsort |
|---|---|
| User | elsatanyixin |
| Submission Time | 2026-02-28 11:01:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
descsort.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
descsort.cpp: In function ‘int main()’:
descsort.cpp:5:16: error: ‘greater’ was not declared in this scope
5 | sort (a, a+5, greater <int> ());
| ^~~~~~~
descsort.cpp:5:25: error: expected primary-expression before ‘int’
5 | sort (a, a+5, greater <int> ());
| ^~~
descsort.cpp:5:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
5 | sort (a, a+5, greater <int> ());
| ^~~~
| short
descsort.cpp:6:25: error: ‘cout’ was not declared in this scope
6 | for (int i=0; i<5; i++)cout << a[i] <<" ";
| ^~~~