結果

問題 No.292 芸名
コンテスト
ユーザー a_ten
提出日時 2016-03-26 11:23:36
言語 PyPy2
(7.3.20)
コンパイル:
pypy2 -m py_compile _filename_
実行:
/usr/bin/pypy2 Main.pyc
結果
AC  
実行時間 55 ms / 2,000 ms
+ 387µs
コード長 181 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 62 ms
コンパイル使用メモリ 80,996 KB
実行使用メモリ 80,896 KB
最終ジャッジ日時 2026-07-18 04:26:28
合計ジャッジ時間 2,058 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#coding:utf-8

n=raw_input().split()
S=list(n[0])
t=int(n[1])
u=int(n[2])

if t==u:
	del S[t]
else:
	if u < t:
		del S[t]
		del S[u]
	else:
		del S[t]
		del S[u-1]

print ''.join(S)
0