Problem | descsort |
---|---|
User | Adam |
Submission Time | 2024-06-19 11:14:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
descsort.cpp:1:2: error: invalid preprocessing directive #insert; did you mean #assert?
1 | #insert <bits/stdc++.h>
| ^~~~~~
| assert
descsort.cpp:2:17: error: ‘sdc’ is not a namespace-name
2 | using namespace sdc;
| ^~~
descsort.cpp: In function ‘int main()’:
descsort.cpp:4:9: error: ‘cin’ was not declared in this scope
4 | int n; cin >> n
| ^~~
descsort.cpp:7:10: error: ‘arr’ was not declared in this scope
7 | cin >> arr[i];
| ^~~
descsort.cpp:8:2: error: ‘cout’ was not declared in this scope
8 | cout << arr[0]+arr[1] << "\n"
| ^~~~
descsort.cpp:8:10: error: ‘arr’ was not declared in this scope
8 | cout << arr[0]+arr[1] << "\n"
| ^~~
descsort.cpp: At global scope:
descsort.cpp:11:1: error: expected declaration before ‘}’ token
11 | }
| ^