結果

問題 No.201 yukicoderじゃんけん
ユーザー ohanaohana
提出日時 2023-10-23 13:17:33
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 150 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 81,852 KB
実行使用メモリ 66,004 KB
最終ジャッジ日時 2023-10-23 13:17:35
合計ジャッジ時間 2,064 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,520 KB
testcase_01 AC 33 ms
53,520 KB
testcase_02 AC 34 ms
53,520 KB
testcase_03 AC 32 ms
53,520 KB
testcase_04 AC 32 ms
53,520 KB
testcase_05 AC 33 ms
53,520 KB
testcase_06 AC 34 ms
53,520 KB
testcase_07 AC 33 ms
53,520 KB
testcase_08 AC 35 ms
53,520 KB
testcase_09 AC 33 ms
53,520 KB
testcase_10 AC 33 ms
53,520 KB
testcase_11 AC 33 ms
53,520 KB
testcase_12 AC 33 ms
53,520 KB
testcase_13 AC 33 ms
53,520 KB
testcase_14 AC 34 ms
53,520 KB
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n1, y1, _ = input().split()
n2, y2, _ = input().split()
y1, y2 = map(int, [y1, y2])
if y1 == y2:
    print(-1)
else:
    print(n1 if y1 > y2 else n2)
0