結果

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

ソースコード

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