Problem | lunchbox |
---|---|
User | ilovepythonandhatecplusplus |
Submission Time | 2024-03-06 17:05:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:12:5: error: expected constructor, destructor, or type conversion before ‘(’ token
12 | sort(rows, rows+k);
| ^
lunchbox.cpp:13:1: error: expected unqualified-id before ‘if’
13 | if (k==0){
| ^~
lunchbox.cpp:17:1: error: expected unqualified-id before ‘if’
17 | if (k<=1){
| ^~
lunchbox.cpp:28:1: error: expected unqualified-id before ‘for’
28 | for (long long f = 0; f < k; f++){
| ^~~
lunchbox.cpp:28:24: error: ‘f’ does not name a type
28 | for (long long f = 0; f < k; f++){
| ^
lunchbox.cpp:28:31: error: ‘f’ does not name a type
28 | for (long long f = 0; f < k; f++){
| ^
lunchbox.cpp:39:1: error: ‘cout’ does not name a type
39 | cout<< gyat;
| ^~~~
lunchbox.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^