結果

問題 No.201 yukicoderじゃんけん
ユーザー lllllll88938494
提出日時 2023-05-30 20:40:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 795 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 76,032 KB
最終ジャッジ日時 2024-12-28 12:57:28
合計ジャッジ時間 5,501 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

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