結果

問題 No.1469 programing
ユーザー momoyuumomoyuu
提出日時 2022-08-03 17:09:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 399 ms / 3,000 ms
コード長 141 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 87,328 KB
実行使用メモリ 285,072 KB
最終ジャッジ日時 2023-10-11 11:36:41
合計ジャッジ時間 3,773 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,464 KB
testcase_01 AC 71 ms
71,188 KB
testcase_02 AC 72 ms
71,668 KB
testcase_03 AC 72 ms
71,508 KB
testcase_04 AC 72 ms
71,276 KB
testcase_05 AC 76 ms
75,900 KB
testcase_06 AC 73 ms
75,928 KB
testcase_07 AC 76 ms
76,148 KB
testcase_08 AC 82 ms
80,048 KB
testcase_09 AC 85 ms
82,508 KB
testcase_10 AC 84 ms
81,644 KB
testcase_11 AC 99 ms
90,072 KB
testcase_12 AC 94 ms
90,016 KB
testcase_13 AC 72 ms
71,512 KB
testcase_14 AC 112 ms
97,116 KB
testcase_15 AC 95 ms
88,992 KB
testcase_16 AC 106 ms
91,876 KB
testcase_17 AC 399 ms
285,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
l = []
now = ""
for i in range(len(S)):
    if now == S[i]:
        continue
    l.append(S[i])
    now  = S[i]
print("".join(l))
0