結果

問題 No.264 じゃんけん
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-03-31 00:47:17
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 187 bytes
コンパイル時間 33 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,804 KB
最終ジャッジ日時 2023-09-21 08:59:41
合計ジャッジ時間 1,157 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,684 KB
testcase_01 AC 19 ms
11,792 KB
testcase_02 AC 19 ms
11,676 KB
testcase_03 AC 19 ms
11,616 KB
testcase_04 AC 18 ms
11,536 KB
testcase_05 AC 18 ms
11,616 KB
testcase_06 AC 18 ms
11,772 KB
testcase_07 AC 18 ms
11,804 KB
testcase_08 AC 17 ms
11,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let ((1p (read)) (2p (read)))
  (cond ((= 1p 2p)
         (print "Drew"))
        ((or (= (- 1p 2p) -1) (= (- 1p 2p) 2))
         (print "Won"))
        (else
         (print "Lost"))))
0