Problem | illuminate |
---|---|
User | aj |
Submission Time | 2025-01-19 10:41:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
illuminate.cpp: In lambda function:
illuminate.cpp:15:31: error: expected ‘{’ before ‘;’ token
15 | list list_input_val=[];
| ^
illuminate.cpp: In function ‘int main()’:
illuminate.cpp:15:31: error: class template argument deduction failed:
illuminate.cpp:15:31: error: no matching function for call to ‘list(main()::<lambda()>)’
In file included from /usr/include/c++/9/list:63,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:79,
from illuminate.cpp:1:
/usr/include/c++/9/bits/stl_list.h:1973:5: note: candidate: ‘template<class _InputIterator, class _ValT, class _Allocator, class, class> std::__cxx11::list(_InputIterator, _InputIterator, _Allocator)-> std::__cxx11::list<_ValT, _Allocator>’
1973 | list(_InputIterator, _InputIterator, _Allocator = _Allocator())
| ^~~~
/usr/include/c++/9/bits/stl_list.h:1973:5: note: template arg