結果

問題 No.1469 programing
ユーザー NatsubiSoganNatsubiSogan
提出日時 2021-04-09 21:21:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 153 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 10,564 KB
実行使用メモリ 9,016 KB
最終ジャッジ日時 2023-09-07 09:33:34
合計ジャッジ時間 11,855 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,940 KB
testcase_01 AC 16 ms
7,784 KB
testcase_02 AC 15 ms
7,916 KB
testcase_03 AC 16 ms
7,844 KB
testcase_04 AC 16 ms
7,728 KB
testcase_05 AC 16 ms
7,800 KB
testcase_06 AC 16 ms
7,796 KB
testcase_07 AC 16 ms
7,740 KB
testcase_08 AC 128 ms
8,264 KB
testcase_09 AC 205 ms
8,164 KB
testcase_10 AC 177 ms
8,444 KB
testcase_11 AC 1,320 ms
8,724 KB
testcase_12 AC 698 ms
8,440 KB
testcase_13 AC 15 ms
7,800 KB
testcase_14 AC 2,018 ms
8,980 KB
testcase_15 AC 443 ms
8,580 KB
testcase_16 AC 1,102 ms
9,016 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
now = s[0]
ans = s[0]
for i in range(1, len(s)):
    if now == s[i]:
        pass
    else:
        ans += s[i]
        now = s[i]
print(ans)
0