結果

問題 No.201 yukicoderじゃんけん
ユーザー mkanenobumkanenobu
提出日時 2018-04-04 23:11:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 10,744 KB
実行使用メモリ 7,984 KB
最終ジャッジ日時 2023-09-08 15:53:38
合計ジャッジ時間 1,302 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,848 KB
testcase_01 WA -
testcase_02 AC 14 ms
7,744 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,956 KB
testcase_05 AC 15 ms
7,796 KB
testcase_06 AC 15 ms
7,788 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,848 KB
testcase_10 AC 15 ms
7,824 KB
testcase_11 AC 15 ms
7,828 KB
testcase_12 AC 15 ms
7,840 KB
testcase_13 AC 15 ms
7,860 KB
testcase_14 WA -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 AC 16 ms
7,980 KB
testcase_19 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

a = input().split()
b = input().split()

if (a[1]) == (b[1]):
    print(-1)
elif max(int(a[1]), int(b[1])) == a[1]:
    print(a[0])
else:
    print(b[0])
0