結果

問題 No.1469 programing
ユーザー c-yanc-yan
提出日時 2021-04-10 20:24:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 685 ms / 3,000 ms
コード長 110 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 44,232 KB
最終ジャッジ日時 2023-09-08 16:02:29
合計ジャッジ時間 2,598 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,928 KB
testcase_01 AC 15 ms
7,692 KB
testcase_02 AC 14 ms
7,784 KB
testcase_03 AC 14 ms
7,780 KB
testcase_04 AC 15 ms
7,740 KB
testcase_05 AC 15 ms
7,932 KB
testcase_06 AC 15 ms
7,916 KB
testcase_07 AC 15 ms
7,868 KB
testcase_08 AC 31 ms
8,644 KB
testcase_09 AC 37 ms
8,920 KB
testcase_10 AC 36 ms
9,000 KB
testcase_11 AC 55 ms
10,244 KB
testcase_12 AC 44 ms
9,800 KB
testcase_13 AC 15 ms
7,868 KB
testcase_14 AC 67 ms
10,880 KB
testcase_15 AC 56 ms
9,828 KB
testcase_16 AC 83 ms
11,452 KB
testcase_17 AC 685 ms
44,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

t = [S[0]]
for c in S[1:]:
    if c == t[-1]:
        continue
    t.append(c)
print(''.join(t))
0