結果

問題 No.1469 programing
ユーザー ygd.ygd.
提出日時 2021-04-09 21:39:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 140 bytes
コンパイル時間 470 ms
コンパイル使用メモリ 10,556 KB
実行使用メモリ 9,000 KB
最終ジャッジ日時 2023-09-07 10:25:17
合計ジャッジ時間 11,455 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,780 KB
testcase_01 AC 15 ms
7,888 KB
testcase_02 AC 16 ms
7,780 KB
testcase_03 AC 15 ms
7,816 KB
testcase_04 AC 16 ms
7,792 KB
testcase_05 AC 16 ms
7,764 KB
testcase_06 AC 16 ms
7,820 KB
testcase_07 AC 16 ms
7,744 KB
testcase_08 AC 128 ms
8,176 KB
testcase_09 AC 206 ms
8,396 KB
testcase_10 AC 175 ms
8,516 KB
testcase_11 AC 1,313 ms
8,888 KB
testcase_12 AC 685 ms
8,464 KB
testcase_13 AC 16 ms
7,808 KB
testcase_14 AC 2,032 ms
8,904 KB
testcase_15 AC 450 ms
8,612 KB
testcase_16 AC 1,111 ms
9,000 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

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