結果

問題 No.201 yukicoderじゃんけん
ユーザー maspy
提出日時 2020-01-22 18:35:02
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 291 bytes
コンパイル時間 451 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-08 11:10:37
合計ジャッジ時間 1,855 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15 RE * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A = readline().split()
B = readline().split()

PA = int(A[1])
PB = int(B[1])

if PA > PB:
    print(A[0].decode())
elif PA == PB:
    print(-1)
else:
    print(B[0].decode())
0