結果

問題 No.1469 programing
ユーザー maru65536maru65536
提出日時 2021-04-09 21:56:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 689 ms / 3,000 ms
コード長 88 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 59,132 KB
最終ジャッジ日時 2023-09-07 11:04:50
合計ジャッジ時間 2,855 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,940 KB
testcase_01 AC 15 ms
8,000 KB
testcase_02 AC 16 ms
7,816 KB
testcase_03 AC 15 ms
7,960 KB
testcase_04 AC 15 ms
7,816 KB
testcase_05 AC 16 ms
7,856 KB
testcase_06 AC 15 ms
7,868 KB
testcase_07 AC 15 ms
7,884 KB
testcase_08 AC 32 ms
9,156 KB
testcase_09 AC 38 ms
9,620 KB
testcase_10 AC 35 ms
9,604 KB
testcase_11 AC 55 ms
11,960 KB
testcase_12 AC 44 ms
10,628 KB
testcase_13 AC 15 ms
7,792 KB
testcase_14 AC 69 ms
13,124 KB
testcase_15 AC 59 ms
10,736 KB
testcase_16 AC 86 ms
13,028 KB
testcase_17 AC 689 ms
59,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
a=['A']
for c in s:
    if c!=a[-1]:
        a.append(c)
print(''.join(a[1:]))
0