結果

問題 No.1469 programing
ユーザー momoyuu
提出日時 2022-08-03 17:09:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 484 ms / 3,000 ms
コード長 141 bytes
コンパイル時間 415 ms
コンパイル使用メモリ 81,912 KB
実行使用メモリ 312,380 KB
最終ジャッジ日時 2024-09-13 10:22:23
合計ジャッジ時間 3,233 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
l = []
now = ""
for i in range(len(S)):
    if now == S[i]:
        continue
    l.append(S[i])
    now  = S[i]
print("".join(l))
0