Why int is giving Runtime error while bool passing ?

Правка en1, от spirited_away_, 2019-05-21 00:47:45

Here are two submission for problem d , of ABC 087. one is giving due to declaration of int xdp[][] and int ydp[][] while other is passing using bool xdp[][] and bool ydp[][] . while long long is give RE much more than int.

Any idea, why its happening so!

AC : https://atcoder.jp/contests/abc082/submissions/5496820

int RE : https://atcoder.jp/contests/abc082/submissions/5496847

long long RE : https://atcoder.jp/contests/abc082/submissions/5496780

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский spirited_away_ 2019-05-21 00:50:01 3600
en2 Английский spirited_away_ 2019-05-21 00:48:52 175
en1 Английский spirited_away_ 2019-05-21 00:47:45 692 Initial revision (published)