結果
問題 | No.292 芸名 |
ユーザー |
|
提出日時 | 2017-04-27 02:29:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 312 bytes |
コンパイル時間 | 103 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-13 13:06:25 |
合計ジャッジ時間 | 1,094 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 WA * 1 |
ソースコード
def main(): st,b,c=input().split() b=int(b) c=int(c) allsyori(st,b,c) def allsyori(st,b,c): st1=st[:b]+st[b+1:] if b==c: print(st1) elif b==len(st)-1: print(st1[:c]+st1[c+1:]) else: print(st1[:c-1]+st1[c:]) if __name__=="__main__": main()