Problem | potatosalad |
---|---|
User | chaewon11 |
Submission Time | 2024-08-05 14:07:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatosalad.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
potatosalad.cpp:5:2: error: expected initializer before ‘int’
5 | int N, D;
| ^~~
potatosalad.cpp:6:5: error: ‘cin’ does not name a type
6 | cin >> N >> D;
| ^~~
potatosalad.cpp:7:13: error: ‘D’ was not declared in this scope
7 | int arr[D];
| ^
potatosalad.cpp:8:5: error: expected unqualified-id before ‘for’
8 | for (int x=0; x<D; x++){
| ^~~
potatosalad.cpp:8:19: error: ‘x’ does not name a type
8 | for (int x=0; x<D; x++){
| ^
potatosalad.cpp:8:24: error: ‘x’ does not name a type
8 | for (int x=0; x<D; x++){
| ^
potatosalad.cpp:11:10: error: expected constructor, destructor, or type conversion before ‘(’ token
11 | sort (arr, arr+m);