結果

問題 No.1469 programing
ユーザー lllllll88938494
提出日時 2022-01-12 02:25:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 278 ms / 3,000 ms
コード長 140 bytes
コンパイル時間 448 ms
コンパイル使用メモリ 82,260 KB
実行使用メモリ 93,700 KB
最終ジャッジ日時 2024-11-14 13:41:24
合計ジャッジ時間 3,146 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
print(s[0],end='')
if len(s)==1:
    exit()
for i in range(1,len(s)):
    if s[i]==s[i-1]:
        continue
    print(s[i],end='')
0