結果

問題 No.264 じゃんけん
ユーザー TeraokaAkihiro
提出日時 2017-01-27 10:13:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 5,000 ms
コード長 180 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-23 15:24:11
合計ジャッジ時間 1,096 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

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