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::bad_alloc'
  what():  std::bad_alloc

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

316
81
549
252
348
220
322
124
230
396
229
345
231
204
416
264
545
116
341
366
444
300
229
244
315
194
650
245
139
541
223
402
182
244
253
211
342
237