結果
問題 | No.264 じゃんけん |
ユーザー |
|
提出日時 | 2022-06-10 13:46:42 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 273 bytes |
コンパイル時間 | 189 ms |
コンパイル使用メモリ | 30,720 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-21 05:45:31 |
合計ジャッジ時間 | 706 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
program main implicit none integer::m,y read*, m ,y if (m == y) then write (*,*) "Drew" else if (m - y == 1 .or. y-m == 2) then write (*,*) "Lost" else if (y - m == 1 .or.m - y == 2) then write (*,*) "Won" end if stop end