結果

問題 No.1469 programing
ユーザー Super SolenoidSuper Solenoid
提出日時 2021-05-02 04:48:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 396 ms / 3,000 ms
コード長 145 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 18,852 KB
最終ジャッジ日時 2023-09-27 18:44:46
合計ジャッジ時間 3,300 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
9,056 KB
testcase_01 AC 22 ms
8,940 KB
testcase_02 AC 22 ms
8,988 KB
testcase_03 AC 23 ms
8,984 KB
testcase_04 AC 22 ms
9,056 KB
testcase_05 AC 22 ms
9,060 KB
testcase_06 AC 25 ms
8,948 KB
testcase_07 AC 23 ms
8,948 KB
testcase_08 AC 30 ms
9,128 KB
testcase_09 AC 34 ms
9,336 KB
testcase_10 AC 33 ms
9,164 KB
testcase_11 AC 32 ms
9,392 KB
testcase_12 AC 28 ms
9,368 KB
testcase_13 AC 21 ms
8,960 KB
testcase_14 AC 34 ms
9,616 KB
testcase_15 AC 45 ms
9,612 KB
testcase_16 AC 61 ms
9,936 KB
testcase_17 AC 396 ms
18,852 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import string
alpha = list(string.ascii_lowercase)

S = input()

for i in range(26):
    S = S.replace(alpha[i]+alpha[i], alpha[i])
    
print(S)
0