結果

問題 No.1469 programing
ユーザー shigeokushigeoku
提出日時 2021-04-09 21:27:20
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 118 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 10,616 KB
実行使用メモリ 12,348 KB
最終ジャッジ日時 2023-09-07 09:50:41
合計ジャッジ時間 11,157 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,348 KB
testcase_01 AC 14 ms
7,772 KB
testcase_02 AC 15 ms
7,708 KB
testcase_03 AC 15 ms
7,812 KB
testcase_04 AC 15 ms
7,864 KB
testcase_05 AC 15 ms
7,784 KB
testcase_06 AC 15 ms
7,976 KB
testcase_07 AC 16 ms
7,836 KB
testcase_08 AC 128 ms
8,272 KB
testcase_09 AC 206 ms
8,292 KB
testcase_10 AC 168 ms
8,404 KB
testcase_11 AC 1,261 ms
8,788 KB
testcase_12 AC 665 ms
8,336 KB
testcase_13 AC 14 ms
7,864 KB
testcase_14 AC 1,922 ms
8,792 KB
testcase_15 AC 428 ms
8,676 KB
testcase_16 AC 1,049 ms
9,188 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

ans = S[0]
for i in range(1, len(S)):
    if S[i-1] == S[i]:
        continue
    ans += S[i]

print(ans)
0