Getting 'Exit code is 2' in golang

Правка en1, от ashykatani, 2024-08-12 18:45:56

I solved one problem here is the link to that problem . I believe the logic is correct as two test cases got OK verdict, however I am getting Runtime Error : Exit code is 2 for the third test case. I don't have any clue why this happened. Could this be because of the way input is taken ? or is there any other reason for this. This is the link to my submission : Link. Any hint/help would be appreciated. Thanks

Теги golang, greedy

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ashykatani 2024-08-12 18:45:56 560 Initial revision (published)