結果

問題 No.264 じゃんけん
ユーザー keidenkeiden
提出日時 2024-09-15 21:32:26
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 24 ms / 5,000 ms
コード長 266 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 6,684 KB
実行使用メモリ 15,872 KB
最終ジャッジ日時 2024-09-15 21:32:27
合計ジャッジ時間 816 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
15,744 KB
testcase_01 AC 23 ms
15,872 KB
testcase_02 AC 24 ms
15,616 KB
testcase_03 AC 23 ms
15,872 KB
testcase_04 AC 22 ms
15,744 KB
testcase_05 AC 23 ms
15,744 KB
testcase_06 AC 22 ms
15,744 KB
testcase_07 AC 22 ms
15,744 KB
testcase_08 AC 22 ms
15,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define yuki264
  (let*
    (
      (n (read))
      (k (read))
    )
    (display
      (cond
        ((= n k)
          "Drew\n"
        )
        ((= k (modulo (+ n 1) 3))
          "Won\n"
        )
        (else
          "Lost\n"
        )
      )
    )
  )
)
0