結果

問題 No.208 王将
ユーザー jj
提出日時 2016-09-11 15:20:20
言語 Fortran
(gFortran 14.2.0)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 1,473 ms
コンパイル使用メモリ 30,592 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-17 03:26:25
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

program main
  implicit none
  integer*8::x,y,x2,y2
  read *,x,y,x2,y2
  if(x2.lt.x.and.y2.lt.y) then
     if(x2*y.eq.x*y2) then
        print '(i0)', MAX(x,y)+1
        return
     end if
  endif
  print '(i0)', MAX(x,y)
end program main
0