Problem | sort |
---|---|
User | RandomPerson |
Submission Time | 2023-03-09 13:19:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp:3:2: error: invalid preprocessing directive #typedef
3 | #typedef long long ll
| ^~~~~~~
sort.cpp: In function ‘int main()’:
sort.cpp:5:1: error: ‘ll’ was not declared in this scope
5 | ll n; cin >> n;
| ^~
sort.cpp:5:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | ll n; cin >> n;
| ^
| yn
sort.cpp:7:3: error: expected ‘;’ before ‘a’
7 | ll a[n]; cin a[i];
| ^~
| ;
sort.cpp:7:13: error: expected ‘;’ before ‘a’
7 | ll a[n]; cin a[i];
| ^~
| ;
sort.cpp:9:7: error: ‘a’ was not declared in this scope
9 | sort(a, a+n);
| ^