結果

問題 No.264 じゃんけん
ユーザー Yuzu MashiroYuzu Mashiro
提出日時 2021-04-01 17:40:29
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 25 ms / 5,000 ms
コード長 193 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 14,516 KB
最終ジャッジ日時 2023-08-22 20:19:36
合計ジャッジ時間 1,339 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
12,784 KB
testcase_01 AC 25 ms
12,784 KB
testcase_02 AC 25 ms
12,628 KB
testcase_03 AC 25 ms
12,748 KB
testcase_04 AC 25 ms
12,784 KB
testcase_05 AC 24 ms
12,780 KB
testcase_06 AC 25 ms
12,752 KB
testcase_07 AC 25 ms
12,512 KB
testcase_08 AC 25 ms
14,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define-values (n k)
 (apply values (map string->number (string-split (read-line) " "))))

(print (case (mod (+ 3 (- n k)) 3)
         ((0) "Drew")
         ((1) "Lost")
         ((2) "Won")))
0