結果

問題 No.1469 programing
ユーザー otsunekootsuneko
提出日時 2021-05-03 21:30:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 132 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 22,120 KB
最終ジャッジ日時 2023-09-29 17:53:43
合計ジャッジ時間 11,682 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,852 KB
testcase_01 AC 15 ms
7,852 KB
testcase_02 AC 15 ms
7,828 KB
testcase_03 AC 15 ms
7,824 KB
testcase_04 AC 15 ms
7,848 KB
testcase_05 AC 16 ms
7,804 KB
testcase_06 AC 15 ms
7,820 KB
testcase_07 AC 16 ms
7,836 KB
testcase_08 AC 133 ms
8,244 KB
testcase_09 AC 211 ms
8,248 KB
testcase_10 AC 181 ms
8,344 KB
testcase_11 AC 1,379 ms
8,876 KB
testcase_12 AC 718 ms
8,504 KB
testcase_13 AC 16 ms
7,884 KB
testcase_14 AC 2,017 ms
8,868 KB
testcase_15 AC 447 ms
8,636 KB
testcase_16 AC 1,163 ms
9,128 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

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

print(ans)
0