結果

問題 No.1469 programing
ユーザー KudeKude
提出日時 2021-04-09 21:21:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 490 ms / 3,000 ms
コード長 139 bytes
コンパイル時間 1,087 ms
コンパイル使用メモリ 86,656 KB
実行使用メモリ 291,952 KB
最終ジャッジ日時 2023-09-07 09:35:55
合計ジャッジ時間 3,936 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
70,984 KB
testcase_01 AC 60 ms
70,984 KB
testcase_02 AC 58 ms
71,124 KB
testcase_03 AC 60 ms
71,256 KB
testcase_04 AC 58 ms
71,256 KB
testcase_05 AC 64 ms
75,564 KB
testcase_06 AC 66 ms
75,208 KB
testcase_07 AC 67 ms
75,460 KB
testcase_08 AC 78 ms
79,564 KB
testcase_09 AC 90 ms
82,208 KB
testcase_10 AC 87 ms
80,976 KB
testcase_11 AC 108 ms
96,128 KB
testcase_12 AC 94 ms
86,608 KB
testcase_13 AC 72 ms
71,072 KB
testcase_14 AC 116 ms
96,212 KB
testcase_15 AC 101 ms
85,676 KB
testcase_16 AC 113 ms
92,348 KB
testcase_17 AC 490 ms
291,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

pre = '$'
ans = []
for c in input():
    if c == pre:
        continue
    else:
        ans.append(c)
        pre = c
print(''.join(ans))
0