結果

問題 No.201 yukicoderじゃんけん
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-30 20:40:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 775 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 77,464 KB
最終ジャッジ日時 2023-08-28 01:05:35
合計ジャッジ時間 6,042 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,560 KB
testcase_01 AC 72 ms
71,144 KB
testcase_02 AC 72 ms
71,548 KB
testcase_03 AC 78 ms
71,264 KB
testcase_04 AC 75 ms
71,248 KB
testcase_05 AC 74 ms
71,464 KB
testcase_06 AC 75 ms
71,448 KB
testcase_07 AC 72 ms
71,416 KB
testcase_08 AC 78 ms
71,320 KB
testcase_09 AC 78 ms
71,384 KB
testcase_10 AC 75 ms
71,200 KB
testcase_11 AC 77 ms
71,548 KB
testcase_12 AC 78 ms
71,056 KB
testcase_13 AC 78 ms
71,124 KB
testcase_14 AC 72 ms
71,364 KB
testcase_15 AC 775 ms
77,464 KB
testcase_16 AC 742 ms
77,392 KB
testcase_17 AC 741 ms
77,328 KB
testcase_18 AC 740 ms
77,424 KB
testcase_19 AC 749 ms
77,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s,t,_ = input().split()
ss,tt,_ = input().split()
tx=0
ttx = 0
for i in range(len(t)):
    tx+=int(t[i])*10**(len(t)-i-1)
for i in range(len(tt)):
    ttx+=int(tt[i])*10**(len(tt)-i-1)


if tx > ttx:
    print(s)
elif tx < ttx:
    print(ss)
else:
    print(-1)
0