結果

問題 No.201 yukicoderじゃんけん
ユーザー is_eri23is_eri23
提出日時 2015-05-07 14:17:50
言語 Python2
(2.7.18)
結果
AC  
実行時間 20 ms / 5,000 ms
コード長 534 bytes
コンパイル時間 850 ms
コンパイル使用メモリ 7,088 KB
実行使用メモリ 7,116 KB
最終ジャッジ日時 2023-09-19 07:35:30
合計ジャッジ時間 2,652 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
6,852 KB
testcase_01 AC 17 ms
7,040 KB
testcase_02 AC 17 ms
6,848 KB
testcase_03 AC 17 ms
7,108 KB
testcase_04 AC 17 ms
7,080 KB
testcase_05 AC 17 ms
7,084 KB
testcase_06 AC 17 ms
7,092 KB
testcase_07 AC 18 ms
6,876 KB
testcase_08 AC 18 ms
7,088 KB
testcase_09 AC 18 ms
6,904 KB
testcase_10 AC 17 ms
6,896 KB
testcase_11 AC 17 ms
6,928 KB
testcase_12 AC 17 ms
6,900 KB
testcase_13 AC 17 ms
6,912 KB
testcase_14 AC 18 ms
7,064 KB
testcase_15 AC 19 ms
7,072 KB
testcase_16 AC 18 ms
7,116 KB
testcase_17 AC 20 ms
6,932 KB
testcase_18 AC 18 ms
6,964 KB
testcase_19 AC 19 ms
6,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from Queue import * # Queue, LifoQueue, PriorityQueue
from bisect import * #bisect, insort
from collections import * #deque, Counter,OrderedDict,defaultdict
#set([]) 
import math
import copy
import itertools
import string
import sys
myread = lambda : map(int,raw_input().split())
def solver():
    Sa,Pa,Xa = raw_input().split()
    Sb,Pb,Xb = raw_input().split()
    Pa,Pb = int(Pa),int(Pb)
    if Pa < Pb:
        print Sb
    elif Pb < Pa:
        print Sa
    else:
        print -1


if __name__ == "__main__":
    solver()
    
0