Problem descsort
User tyj
Submission Time 2025-05-26 20:47:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

descsort.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
descsort.cpp: In function ‘int main()’:
descsort.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin>>n;
| ^~~
descsort.cpp:11:4: error: ‘swap’ was not declared in this scope
11 | swap(a[j],a[j+1]);
| ^~~~
descsort.cpp:14:23: error: ‘cout’ was not declared in this scope
14 | for(int i=n;i>=1;i--)cout<<a[i];
| ^~~~