Problem | lunchbox |
---|---|
User | Henries |
Submission Time | 2024-06-14 22:17:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:7:22: error: expected ‘;’ before ‘)’ token
7 | for (int i=0;i<m<i++){
| ^
| ;
lunchbox.cpp:15:29: error: class template argument deduction failed:
15 | iterator it = mylist.begin();
| ^
lunchbox.cpp:15:29: error: no matching function for call to ‘iterator(std::__cxx11::list<int>::iterator)’
In file included from /usr/include/c++/9/bits/stl_algobase.h:65,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from lunchbox.cpp:1:
/usr/include/c++/9/bits/stl_iterator_base_types.h:118:12: note: candidate: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> iterator(std::iterator<_Category, _Tp,