結果

問題 No.264 じゃんけん
ユーザー yusakayusaka
提出日時 2015-09-22 13:34:06
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 302 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 11,784 KB
最終ジャッジ日時 2023-09-26 14:23:09
合計ジャッジ時間 939 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,784 KB
testcase_01 AC 18 ms
11,652 KB
testcase_02 AC 18 ms
11,772 KB
testcase_03 AC 17 ms
11,596 KB
testcase_04 AC 17 ms
11,780 KB
testcase_05 AC 17 ms
11,568 KB
testcase_06 AC 18 ms
11,688 KB
testcase_07 AC 18 ms
11,784 KB
testcase_08 AC 17 ms
11,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env gosh
(define judge '(1 2 0))
(let* ((lst (read (open-input-string (string-append "(" (read-line) ")"))))
       (i (car lst))
       (you (cadr lst)))
  (cond ((= i you) (display "Drew"))
        ((= you (list-ref judge i)) (display "Won"))
        (else (display "Lost")))
  (newline))
0