結果

問題 No.264 じゃんけん
ユーザー MOD9cXWdOsRxvPyMOD9cXWdOsRxvPy
提出日時 2022-09-19 11:31:56
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 19 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 11,772 KB
最終ジャッジ日時 2023-08-23 18:48:59
合計ジャッジ時間 1,683 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
11,560 KB
testcase_01 AC 18 ms
11,772 KB
testcase_02 AC 18 ms
11,596 KB
testcase_03 AC 18 ms
11,648 KB
testcase_04 AC 17 ms
11,760 KB
testcase_05 AC 18 ms
11,656 KB
testcase_06 AC 18 ms
11,600 KB
testcase_07 AC 18 ms
11,508 KB
testcase_08 AC 18 ms
11,748 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(display
 (let* ((me (read)) (you (read)))
   (if (not (= me you))
       (case me
	 ((0) (if (= you 1) "Won" "Lost"))
	 ((1) (if (= you 2) "Won" "Lost"))
	 ((2) (if (= you 0) "Won" "Lost")))
       "Drew")
   ))
(newline)

0