結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-30 16:28:51 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 205 bytes |
コンパイル時間 | 140 ms |
コンパイル使用メモリ | 82,332 KB |
実行使用メモリ | 319,236 KB |
最終ジャッジ日時 | 2024-07-18 13:18:41 |
合計ジャッジ時間 | 3,110 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 15 |
ソースコード
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))