Problem | lunchbox |
---|---|
User | nivay210 |
Submission Time | 2023-11-09 11:42:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:11:13: error: expected primary-expression before ‘;’ token
11 | for (int i=; i < m; ++i} {
| ^
lunchbox.cpp:11:25: error: expected ‘)’ before ‘}’ token
11 | for (int i=; i < m; ++i} {
| ~ ^
| )
lunchbox.cpp:11:25: error: expected primary-expression before ‘}’ token
lunchbox.cpp: At global scope:
lunchbox.cpp:11:27: error: expected unqualified-id before ‘{’ token
11 | for (int i=; i < m; ++i} {
| ^
lunchbox.cpp:16:9: error: expected constructor, destructor, or type conversion before ‘(’ token
16 | sort (arr, arr + m);
| ^
lunchbox.cpp:19:4: error: expected unqualified-id before ‘for’
19 | for (int i=0; i < m; ++i) {
| ^~~
lunchbox.cpp:19:18: error: ‘i’ does not name a type
19 | for (int i=0; i < m;