結果

問題 No.264 じゃんけん
ユーザー tso_moriritso_moriri
提出日時 2018-11-30 19:41:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 7,948 KB
最終ジャッジ日時 2023-09-09 06:32:38
合計ジャッジ時間 786 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

hand = list(map(int,input().split()))
if hand[0]<hand[1] or hand ==[2,0] and hand !=[0,2]:
    print('Won')
elif hand[0]==hand[1]:
    print('Drew')
elif hand[0]>hand[1] or hand ==[0,2]:
    print('Lost')
0