結果

問題 No.201 yukicoderじゃんけん
ユーザー ohanaohana
提出日時 2023-10-23 13:16:25
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 133 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 65,988 KB
最終ジャッジ日時 2023-10-23 13:16:28
合計ジャッジ時間 2,588 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,480 KB
testcase_01 AC 48 ms
53,480 KB
testcase_02 AC 36 ms
53,480 KB
testcase_03 AC 41 ms
53,480 KB
testcase_04 AC 36 ms
53,480 KB
testcase_05 AC 37 ms
53,480 KB
testcase_06 AC 36 ms
53,480 KB
testcase_07 AC 36 ms
53,480 KB
testcase_08 AC 37 ms
53,480 KB
testcase_09 AC 36 ms
53,480 KB
testcase_10 AC 41 ms
53,480 KB
testcase_11 AC 37 ms
53,480 KB
testcase_12 AC 37 ms
53,480 KB
testcase_13 AC 37 ms
53,480 KB
testcase_14 AC 36 ms
53,480 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])
print(-1 if y1 == y2 else n1 if y1 > y2 else n2)
0