結果

問題 No.201 yukicoderじゃんけん
ユーザー steek79
提出日時 2015-10-12 12:53:02
言語 Python2
(2.7.18)
結果
AC  
実行時間 10 ms / 5,000 ms
コード長 208 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-07-21 07:17:06
合計ジャッジ時間 964 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

A = raw_input().split()
B = raw_input().split()

nameA = A[0]
nameB = B[0]
pointA = int(A[1])
pointB = int(B[1])

if pointA > pointB:
    print nameA
elif pointA < pointB:
    print nameB
else:
    print "-1"
0