結果

問題 No.201 yukicoderじゃんけん
ユーザー Theta
提出日時 2023-10-13 16:37:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 291 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,904 KB
最終ジャッジ日時 2024-09-15 12:36:07
合計ジャッジ時間 1,731 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.set_int_max_str_digits(20000)


def main():
    S_a, P_a, _ = input().split()
    S_b, P_b, _ = input().split()
    if int(P_a) > int(P_b):
        print(S_a)
    elif int(P_a) < int(P_b):
        print(S_b)
    else:
        print(-1)


if __name__ == "__main__":
    main()
0