結果

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

ソースコード

diff #

# -*- coding: utf-8 -*-
name1, point1, dum = raw_input().split()
name2, point2, dum = raw_input().split()
P1 = long(point1)
P2 = long(point2)
if P1 < P2:
    print name2
elif P2 < P1:
    print name1
else:
    print -1
0