結果

問題 No.201 yukicoderじゃんけん
ユーザー JunOnuma
提出日時 2017-06-08 14:37:42
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 142 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-22 13:27:49
合計ジャッジ時間 1,081 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

s1,p1,_ = raw_input().split()
s2,p2,_ = raw_input().split()
if p1 == p2:
    print -1
elif int(p1) > int(p2):
    print s1
else:
    print s2
0