結果

問題 No.1469 programing
ユーザー 萩3萩3
提出日時 2021-04-30 16:25:40
言語 PyPy3
(7.3.15)
結果
MLE  
実行時間 -
コード長 264 bytes
コンパイル時間 578 ms
コンパイル使用メモリ 87,208 KB
実行使用メモリ 541,664 KB
最終ジャッジ日時 2023-09-25 16:51:26
合計ジャッジ時間 5,919 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
71,596 KB
testcase_01 AC 89 ms
71,332 KB
testcase_02 AC 89 ms
71,800 KB
testcase_03 AC 89 ms
71,336 KB
testcase_04 AC 87 ms
71,724 KB
testcase_05 AC 143 ms
77,432 KB
testcase_06 AC 93 ms
76,928 KB
testcase_07 AC 96 ms
77,560 KB
testcase_08 AC 108 ms
78,488 KB
testcase_09 AC 107 ms
78,480 KB
testcase_10 AC 110 ms
78,776 KB
testcase_11 AC 113 ms
79,856 KB
testcase_12 AC 109 ms
79,312 KB
testcase_13 AC 87 ms
71,336 KB
testcase_14 AC 152 ms
102,696 KB
testcase_15 AC 151 ms
102,228 KB
testcase_16 AC 163 ms
104,508 KB
testcase_17 MLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
cs=[c for c in input()]
current = ''
origin = collections.deque(cs)
harurun = collections.deque()
while len(origin)>0:
    tmp = origin.popleft()
    if current == tmp: continue

    current = tmp
    harurun.append(tmp)

print(''.join(harurun))
0