Problem | lunchbox |
---|---|
User | AJigglypuffCoder |
Submission Time | 2024-10-21 17:10:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:51:20: error: expected ‘;’ before ‘int’
51 | using namespace std
| ^
| ;
52 |
53 | int N;
| ~~~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:64:17: error: expected ‘;’ before ‘<’ token
64 | for (int i=0,i<m,i++) {
| ^
| ;
lunchbox.cpp:64:17: error: expected primary-expression before ‘<’ token
lunchbox.cpp:64:23: error: expected ‘;’ before ‘)’ token
64 | for (int i=0,i<m,i++) {
| ^
| ;
lunchbox.cpp:65:9: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::__cxx11::list<int>’)
65 | cin >> k[i];
| ~~~ ^~ ~~~~
| | |
| | std::__cxx11::list<int>
| std::istr