結果

問題 No.201 yukicoderじゃんけん
ユーザー ktshunktshun
提出日時 2015-05-28 15:31:32
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 5,000 ms
コード長 218 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 6,504 KB
実行使用メモリ 6,200 KB
最終ジャッジ日時 2023-09-20 17:07:29
合計ジャッジ時間 1,452 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,884 KB
testcase_01 AC 12 ms
6,084 KB
testcase_02 AC 11 ms
5,848 KB
testcase_03 AC 11 ms
6,092 KB
testcase_04 AC 11 ms
6,140 KB
testcase_05 AC 11 ms
6,156 KB
testcase_06 AC 12 ms
6,092 KB
testcase_07 AC 11 ms
6,080 KB
testcase_08 AC 11 ms
5,956 KB
testcase_09 AC 11 ms
6,156 KB
testcase_10 AC 11 ms
6,080 KB
testcase_11 AC 11 ms
6,096 KB
testcase_12 AC 11 ms
6,036 KB
testcase_13 AC 12 ms
6,096 KB
testcase_14 AC 10 ms
5,980 KB
testcase_15 AC 12 ms
6,108 KB
testcase_16 AC 12 ms
5,972 KB
testcase_17 AC 13 ms
6,200 KB
testcase_18 AC 13 ms
6,036 KB
testcase_19 AC 13 ms
6,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-

if __name__ == "__main__":
	s1, p1, x1 = raw_input().split()
	s2, p2, x2 = raw_input().split()
	p1 = int(p1)
	p2 = int(p2)
	if p1 > p2:
		print s1
	elif p1 < p2:
		print s2
	else:
		print -1
		
0