Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::basic_string: __pos (which is 30) > this->size() (which is 0)

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 -6, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

Instructor: Mateusz Krzyzosiak Chen Tingzhu
Courses: Mateusz Krzyzosiak Chen Tingzhu
Instructor: Shu La Ma Lianfang
Courses: Shu La Ma Lianfang
Instructor: ManuelPerezGarcia Irene Wei
Courses: ManuelPerezGarcia Irene Wei
Instructor: Mateusz Krzyzosiak Zhang Yanjun
Courses: Mateusz Krzyzosiak Zhang Yanjun
Instructor: Bao Hua ManuelPerezGarcia
Courses: Bao Hua ManuelPerezGarcia
Instructor: Mario Alberto Garcia Ramirez Horst Hohberger
Courses: Mario Alberto Garcia Ramirez Horst Hohberger
Instructor: Ma Chengbin Tang Aimin
Courses: Ma Chengbin Tang Aimin
Instructor: Mario Alberto Garcia Ramirez Dou Xiumin
Courses: Mario Alberto Garcia Ramirez Dou Xiumin
Instructor: Ma Dianguang Ma Chengbin
Courses: Ma Dianguang Ma Chengbin
Instructor: Zheng Gang Manuel Charlemagne
Courses: Zheng Gang Manuel Charlemagne
Instructor: Mario Alberto Garcia Ramirez Fethi Rabhi
Courses: Mario Alberto Garcia Ramirez Fethi Rabhi
Instructor: Liu Shiyong ManuelPerezGarcia
Courses: Liu Shiyong ManuelPerezGarcia
Instructor: Mario Alberto Garc