結果

問題 No.292 芸名
ユーザー pea vavapea vava
提出日時 2020-09-13 08:19:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 8,012 KB
最終ジャッジ日時 2023-09-02 08:16:56
合計ジャッジ時間 1,207 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 17 ms
8,008 KB
testcase_02 AC 18 ms
7,912 KB
testcase_03 AC 15 ms
7,864 KB
testcase_04 WA -
testcase_05 RE -
testcase_06 AC 16 ms
7,968 KB
testcase_07 AC 15 ms
7,932 KB
testcase_08 AC 16 ms
7,792 KB
testcase_09 AC 16 ms
7,808 KB
testcase_10 WA -
testcase_11 RE -
testcase_12 AC 15 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#Sは芸名、t,uは師匠からの助言位置

S, t, u = input().split()
S = list(S)
t = int(t)
u = int(u)

if t == u:
    del S[t]
else:
    del S[t]
    del S[u]

S = ''.join(S)
print(S)
0