結果

問題 No.1469 programing
ユーザー Kude
提出日時 2021-04-09 21:21:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 499 ms / 3,000 ms
コード長 139 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 293,240 KB
最終ジャッジ日時 2024-06-25 03:53:06
合計ジャッジ時間 2,677 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

pre = '$'
ans = []
for c in input():
    if c == pre:
        continue
    else:
        ans.append(c)
        pre = c
print(''.join(ans))
0