結果

問題 No.264 じゃんけん
ユーザー Yosuke YamaguchiYosuke Yamaguchi
提出日時 2021-04-19 22:31:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 7,968 KB
最終ジャッジ日時 2023-09-17 08:31:02
合計ジャッジ時間 1,046 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,748 KB
testcase_01 AC 16 ms
7,756 KB
testcase_02 AC 15 ms
7,884 KB
testcase_03 AC 15 ms
7,780 KB
testcase_04 AC 15 ms
7,760 KB
testcase_05 AC 15 ms
7,924 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 16 ms
7,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

first = input()
split_first = first.split()
me = int(split_first[0])
you = int(split_first[1])
if me == you:
  print("Drew")
elif me == 0:
  if you == 1:
    print("Won")
  else:
    print("Lost")
elif me == 1:
  if you == 2:
    print("Won")
  else:
    print("Lost")
else:
  if you == 1:
    print("Won")
  else:
    print("Lost")
0