Problem | sort |
---|---|
User | Soysauce |
Submission Time | 2024-04-17 21:54:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:6:18: error: two or more data types in declaration of ‘N’
6 | double double N;
| ^
sort.cpp:7:12: error: ‘N’ was not declared in this scope
7 | cin >> N;
| ^
sort.cpp:8:24: error: two or more data types in declaration of ‘arr’
8 | double double arr[N];
| ^
sort.cpp:9:24: error: two or more data types in declaration of ‘i’
9 | for (double double i = 0; i < N; ++i) {
| ^
sort.cpp:9:31: error: ‘i’ was not declared in this scope
9 | for (double double i = 0; i < N; ++i) {
| ^
sort.cpp:10:16: error: ‘arr’ was not declared in this scope
10 | cin >> arr[i];
| ^~~
sort.cpp:14:10: error: ‘arr’ was not declared in this scope
14 | sort(arr, arr + N);
|