結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-30 16:29:29 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 150 ms |
コンパイル使用メモリ | 82,848 KB |
実行使用メモリ | 544,652 KB |
最終ジャッジ日時 | 2024-07-18 13:19:20 |
合計ジャッジ時間 | 2,974 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 MLE * 1 |
ソースコード
import collections cs=[c for c in input()] current = '' deq = collections.deque(cs) for _ in range(len(cs)): tmp = deq.popleft() if current == tmp: continue current = tmp deq.append(tmp) print(''.join(deq))