結果

問題 No.531 エヌスクミ島の平和協定
ユーザー jj
提出日時 2017-06-23 23:45:50
言語 Fortran
(gFortran 14.2.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 440 ms
コンパイル使用メモリ 30,208 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-05 12:00:25
合計ジャッジ時間 1,371 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 36 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

program main
  implicit none
  integer::N,M
  read *,N,M
  if (N.eq.2*M) then
     print '(i0)',2
  else if(N.gt.M) then
     print '(i0)',-1
  else
     print '(i0)',1
  end if
end program main
0