結果

問題 No.292 芸名
ユーザー superzugan
提出日時 2021-08-16 23:36:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-09 20:51:39
合計ジャッジ時間 1,215 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 7 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

s,t,u=input().split()
s=list(s)
t,u=int(t),int(u)
if u==t:s.pop(t);print("".join(s))
else:
    if t<u:s.pop(t);s.pop(u-1)
    else:s.pop(t-1);s.pop(u)
print("".join(s))
0