Problem | lunchbox |
---|---|
User | Esan |
Submission Time | 2024-06-19 14:27:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:7:12: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
7 | ios_base::sync_with_studio(0)
| ^~~~~~~~~~~~~~~~
lunchbox.cpp:8:25: error: expected ‘;’ before ‘int’
8 | cin.tie(0); cout.tie(0)
| ^
| ;
9 | int N,m
| ~~~
lunchbox.cpp:12:2: error: expected initializer before ‘for’
12 | for (int i =0; i<m, ++i){
| ^~~
lunchbox.cpp:12:17: error: ‘i’ was not declared in this scope
12 | for (int i =0; i<m, ++i){
| ^
lunchbox.cpp:12:19: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
12 | for (int i =0; i<m, ++i){
| ^
| tm
lunchbox.cpp:18:9: error: ‘N’ was not declared in this scope
18 | while (N>0){
| ^
lunchbox.cpp:2