We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 2) >= this->size() (which is 2)
Reading symbols from Solution...done.
[New LWP 497118]
Core was generated by `./Solution'.
Program terminated with signal SIGABRT, Aborted.
why i got this error on c++11 and c++20? btw this is my code
Connecting Towns
You are viewing a single comment's thread. Return to all comments →
terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: __n (which is 2) >= this->size() (which is 2) Reading symbols from Solution...done. [New LWP 497118] Core was generated by `./Solution'. Program terminated with signal SIGABRT, Aborted.
why i got this error on c++11 and c++20? btw this is my code