結果

問題 No.1469 programing
ユーザー rodea
提出日時 2021-04-11 12:26:03
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 135 bytes
コンパイル時間 371 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 278,272 KB
最終ジャッジ日時 2024-06-27 07:53:10
合計ジャッジ時間 7,949 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 TLE * 2 -- * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
n = len(s)

ans = ""
for i in range(n):
    if i + 1 < n and s[i] == s[i + 1]:
        continue
    ans += s[i]

print(ans)
0