結果

問題 No.1469 programing
ユーザー dango
提出日時 2023-06-12 20:02:05
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 153 bytes
コンパイル時間 197 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 274,784 KB
最終ジャッジ日時 2024-06-11 20:30:28
合計ジャッジ時間 8,098 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 TLE * 2 -- * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

def n(s):
    result = ''
    for i in range(len(s)):
        if i == 0 or s[i] != s[i-1]:
            result += s[i]
    return result
print(n(input()))
0