Problem | smurf |
---|---|
User | thatlycheeoolongdrink |
Submission Time | 2024-03-22 13:40:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:26:9: error: expected primary-expression before ‘}’ token
26 | ; ++ }
| ^
smurf.cpp:27:4: error: ‘j’ was not declared in this scope
27 | j) {
| ^
smurf.cpp:36:5: error: no matching function for call to ‘end()’
36 | end());
| ^
In file included from /usr/include/c++/9/bits/range_access.h:36,
from /usr/include/c++/9/string:54,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from smurf.cpp:1:
/usr/include/c++/9/initializer_list:99:5: note: candidate: ‘template<class _Tp> constexpr const _Tp* std::end(std::initializer_list<_Tp>)’
99 | end(initializer_list&l