結果

問題 No.201 yukicoderじゃんけん
ユーザー akihito0000
提出日時 2016-09-12 18:39:20
言語 Python2
(2.7.18)
結果
AC  
実行時間 14 ms / 5,000 ms
コード長 207 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-11-17 04:04:13
合計ジャッジ時間 1,200 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
# -*- coding: utf-8 -*-

A = map(str, raw_input().split())
B = map(str, raw_input().split())

if int(A[1]) > int(B[1]):
	print A[0]
elif int(B[1]) > int(A[1]):
	print B[0]
else:
	print "-1"
0