Problem | sort |
---|---|
User | Soysauce |
Submission Time | 2024-04-25 15:13:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp:10:1: error: expected unqualified-id before ‘else’
10 | else{
| ^~~~
sort.cpp:13:1: error: expected declaration before ‘}’ token
13 | }
| ^
sort.cpp: In function ‘int main()’:
sort.cpp:15:6: error: ‘a’ was not declared in this scope
15 | Sort(a,a+n,cmp);
| ^
sort.cpp:15:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
15 | Sort(a,a+n,cmp);
| ^
| yn
sort.cpp:15:1: error: ‘Sort’ was not declared in this scope
15 | Sort(a,a+n,cmp);
| ^~~~
sort.cpp: At global scope:
sort.cpp:17:1: error: expected declaration before ‘}’ token
17 | }
| ^
sort.cpp:18:1: error: expected declaration before ‘}’ token
18 | }
| ^
sort.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^