結果

問題 No.292 芸名
ユーザー kisaragi211kisaragi211
提出日時 2018-01-18 19:54:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 215 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-08-25 23:23:29
合計ジャッジ時間 1,190 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,860 KB
testcase_01 AC 14 ms
7,828 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 14 ms
7,764 KB
testcase_05 AC 14 ms
7,824 KB
testcase_06 AC 13 ms
7,956 KB
testcase_07 AC 14 ms
7,756 KB
testcase_08 AC 13 ms
7,860 KB
testcase_09 AC 12 ms
7,776 KB
testcase_10 AC 12 ms
7,912 KB
testcase_11 AC 12 ms
7,760 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    S, t, u = input().split()
    S = list(S)
    if t == u:
        S.pop(int(t))
    else:
        S.pop(int(t))
        S.pop(int(u)-1)
    print(''.join(S))
    
if __name__ == '__main__':
    main()
0