結果
| 問題 | No.1469 programing | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-04-14 02:19:39 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                MLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 310 bytes | 
| コンパイル時間 | 302 ms | 
| コンパイル使用メモリ | 82,284 KB | 
| 実行使用メモリ | 536,052 KB | 
| 最終ジャッジ日時 | 2024-10-03 00:23:46 | 
| 合計ジャッジ時間 | 4,226 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 14 MLE * 1 | 
ソースコード
def main():
    s = input()
    s_list = list(s)
    f_list = []
    for i in range(0, len(s_list)-1):
        f_list.append(s_list[i] != s_list[i+1])
    f_list.append(True)
    for i in range(0, len(s_list)):
        if f_list[i]:
            print(s_list[i], end="")
if __name__ == "__main__":
    main()
            
            
            
        