結果

問題 No.1469 programing
ユーザー c-yan
提出日時 2021-04-10 20:24:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 799 ms / 3,000 ms
コード長 110 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 47,360 KB
最終ジャッジ日時 2024-06-26 09:02:35
合計ジャッジ時間 3,070 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

t = [S[0]]
for c in S[1:]:
    if c == t[-1]:
        continue
    t.append(c)
print(''.join(t))
0