Strange Runtime Error

Правка en1, от jaglike_makkar, 2021-12-12 14:26:43

Please have a look at the following two submissions of 1582E - Pchelyonok and Segments:

  1. 138848779
  2. 138849288

The first submission gave RTE on test 8. But just by replacing ll with int, it passed test 8. (Though it failed on test 9 due to integer overflow). Can anyone tell why is the first submission giving RTE? Any help is appreciated.

C++ is not my primary language, so I may be making some silly errors.

Теги c++, runtime error, help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский jaglike_makkar 2021-12-12 14:26:43 457 Initial revision (published)