Problem helloworld
User R9q5P8
Submission Time 2026-03-09 20:57:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In instantiation of ‘main()::<lambda(auto:22)> [with auto:22 = std::array<int, 11>]’:
/usr/include/c++/9/type_traits:2330:26: required by substitution of ‘template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = main()::<lambda(auto:22)>&; _Args = {std::array<int, 11>}]’
/usr/include/c++/9/type_traits:2341:55: required from ‘struct std::__result_of_impl<false, false, main()::<lambda(auto:22)>&, std::array<int, 11> >’
/usr/include/c++/9/bits/std_function.h:375:9: recursively required by substitution of ‘template<class _Result, class _Ret> struct std::__is_invocable_impl<_Result, _Ret, false, std::__void_t<typename _Result::type> > [with _Result = std::__invoke_result<main()::<lambda(auto:22)>&, std::array<int, 11> >; _Ret