結果

問題 No.1469 programing
ユーザー miya145592miya145592
提出日時 2023-05-07 17:01:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 401 ms / 3,000 ms
コード長 101 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 293,484 KB
最終ジャッジ日時 2024-05-03 15:09:56
合計ジャッジ時間 3,036 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
51,840 KB
testcase_01 AC 33 ms
51,968 KB
testcase_02 AC 31 ms
51,584 KB
testcase_03 AC 33 ms
51,840 KB
testcase_04 AC 33 ms
51,584 KB
testcase_05 AC 37 ms
58,496 KB
testcase_06 AC 36 ms
57,856 KB
testcase_07 AC 38 ms
58,240 KB
testcase_08 AC 44 ms
70,272 KB
testcase_09 AC 48 ms
74,752 KB
testcase_10 AC 50 ms
73,728 KB
testcase_11 AC 62 ms
90,112 KB
testcase_12 AC 54 ms
80,896 KB
testcase_13 AC 35 ms
51,712 KB
testcase_14 AC 78 ms
97,920 KB
testcase_15 AC 62 ms
85,888 KB
testcase_16 AC 75 ms
90,764 KB
testcase_17 AC 401 ms
293,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
T = []
bk = ""
for s in S:
    if bk!=s:
        T.append(s)
    bk = s
print("".join(T))
0