結果

問題 No.264 じゃんけん
ユーザー TeraokaAkihiroTeraokaAkihiro
提出日時 2017-01-27 10:13:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 7,992 KB
最終ジャッジ日時 2023-08-25 03:21:35
合計ジャッジ時間 982 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,768 KB
testcase_01 AC 16 ms
7,900 KB
testcase_02 AC 17 ms
7,768 KB
testcase_03 AC 16 ms
7,852 KB
testcase_04 AC 16 ms
7,872 KB
testcase_05 AC 15 ms
7,968 KB
testcase_06 AC 15 ms
7,992 KB
testcase_07 AC 15 ms
7,912 KB
testcase_08 AC 16 ms
7,796 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = input().split()

N,K = int(N),int(K)

score = N - K

if N == K:
  print("Drew")
elif score == -1 or score == 2:
  print("Won")
elif score == 1 or score == -2:
  print("Lost")
0