Problem | lunchbox |
---|---|
User | dieunq1309 |
Submission Time | 2023-02-17 10:18:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:21: error: expected primary-expression before ‘)’ token
12 | for(i=0, i<=m, i++;)
| ^
lunchbox.cpp:12:21: error: expected ‘;’ before ‘)’ token
12 | for(i=0, i<=m, i++;)
| ^
| ;
lunchbox.cpp:14:12: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘<unresolved overloaded function type>’)
14 | cin >> k >> endl;
| ~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from lunchbox.cpp:1:
/usr/include/c++/9/istream:120:7: note: candidate: ‘std::basic_istrea