結果

問題 No.292 芸名
ユーザー convexineq
提出日時 2021-01-02 09:37:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 343 ms
コンパイル使用メモリ 82,456 KB
実行使用メモリ 53,504 KB
最終ジャッジ日時 2024-10-11 22:56:18
合計ジャッジ時間 1,808 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

S,t,u = input().split()
S = [*S]
t,u = int(t),int(u)
if t==u:
    S.pop(t)
elif t < u:
    S.pop(u)
    S.pop(t)
else:
    S.pop(t)
    S.pop(u)
print("".join(S))
0