結果

問題 No.264 じゃんけん
ユーザー n_knuun_knuu
提出日時 2016-04-02 20:17:51
言語 Nim
(2.0.2)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 3,547 ms
コンパイル使用メモリ 68,172 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-12 00:14:05
合計ジャッジ時間 4,190 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 2 ms
4,376 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 2 ms
4,376 KB
testcase_07 WA -
testcase_08 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import strutils, sequtils
let
  input = stdin.readline.split.map(parseInt)
  (N, K) = (input[0], input[1])
if N == K:
  echo("Drew")
elif (N + 1) mod 3 == K:
  echo("Won")
else:
  echo("Lose")
0