結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-30 16:25:40 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 81,996 KB |
実行使用メモリ | 544,564 KB |
最終ジャッジ日時 | 2024-07-18 13:15:31 |
合計ジャッジ時間 | 3,849 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 MLE * 1 |
ソースコード
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))