結果

問題 No.1469 programing
ユーザー da_abda_ab
提出日時 2021-04-09 21:54:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 2,157 ms / 3,000 ms
コード長 137 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 40,772 KB
最終ジャッジ日時 2023-09-07 11:02:29
合計ジャッジ時間 4,550 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
9,244 KB
testcase_01 AC 25 ms
9,096 KB
testcase_02 AC 24 ms
9,064 KB
testcase_03 AC 25 ms
9,100 KB
testcase_04 AC 24 ms
9,140 KB
testcase_05 AC 25 ms
9,116 KB
testcase_06 AC 24 ms
9,064 KB
testcase_07 AC 25 ms
9,060 KB
testcase_08 AC 54 ms
10,264 KB
testcase_09 AC 67 ms
10,688 KB
testcase_10 AC 66 ms
10,628 KB
testcase_11 AC 28 ms
9,492 KB
testcase_12 AC 27 ms
9,268 KB
testcase_13 AC 24 ms
9,048 KB
testcase_14 AC 31 ms
9,556 KB
testcase_15 AC 148 ms
10,736 KB
testcase_16 AC 235 ms
12,124 KB
testcase_17 AC 2,157 ms
40,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 1469 programing

import re
from sys import stdin

s=stdin.readline().rstrip()

pattern=r'(.)\1(?!$1)'
print(re.sub(pattern,r'\1',s))


0