結果

問題 No.1469 programing
ユーザー nobunobu
提出日時 2021-04-10 05:49:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,030 ms / 3,000 ms
コード長 93 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 39,556 KB
最終ジャッジ日時 2023-09-08 01:58:49
合計ジャッジ時間 3,510 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,932 KB
testcase_01 AC 16 ms
7,836 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 AC 16 ms
7,928 KB
testcase_04 AC 15 ms
7,884 KB
testcase_05 AC 16 ms
7,828 KB
testcase_06 AC 15 ms
7,836 KB
testcase_07 AC 16 ms
7,828 KB
testcase_08 AC 39 ms
8,768 KB
testcase_09 AC 48 ms
8,844 KB
testcase_10 AC 45 ms
8,960 KB
testcase_11 AC 81 ms
10,452 KB
testcase_12 AC 62 ms
9,508 KB
testcase_13 AC 16 ms
7,780 KB
testcase_14 AC 101 ms
10,916 KB
testcase_15 AC 75 ms
9,504 KB
testcase_16 AC 115 ms
11,100 KB
testcase_17 AC 1,030 ms
39,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
a=[]
n=0
for i in s:
    if n!=i:
        a+=i
    n=i
    

k="".join(a)
print(k)
0