Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==10553==ERROR: AddressSanitizer: stack-overflow on address 0x7ffdd0081fc8 (pc 0x7f2016636e6f bp 0x7ffdd0082830 sp 0x7ffdd0081f90 T0) #0 0x7f2016636e6e (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e6e) #1 0x7f20162e879f in __cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x9479f) #2 0x7f20162e5465 in __dynamic_cast (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x91465) #3 0x7f20163581ca in std::ctype<char> const& std::use_facet<std::ctype<char> >(std::locale const&) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x1041ca) #4 0x7f20162ffa9f in std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_i
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
1755422593 805966801 823832778 159335563 1341492268 -828095968 4304991 832157434 -2139092664 832157434 -2127527894 1148097924 253890917 342536557 2003310326 869734359 828022224 2003310326