結果

問題 No.201 yukicoderじゃんけん
コンテスト
ユーザー nu50218
提出日時 2023-12-11 13:08:32
言語 Python3
(3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 35 ms / 5,000 ms
+ 263µs
コード長 212 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 66 ms
コンパイル使用メモリ 14,720 KB
実行使用メモリ 12,800 KB
最終ジャッジ日時 2026-11-05 00:11:00
合計ジャッジ時間 2,467 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import sys
sys.set_int_max_str_digits(1000000)
S_A, P_A, X_A = input().split()
S_B, P_B, X_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)
0