結果

問題 No.1469 programing
ユーザー aminoamino
提出日時 2021-04-11 15:25:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 117 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 10,464 KB
実行使用メモリ 22,188 KB
最終ジャッジ日時 2023-09-09 17:45:55
合計ジャッジ時間 11,841 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,860 KB
testcase_01 AC 15 ms
7,792 KB
testcase_02 AC 14 ms
7,796 KB
testcase_03 AC 15 ms
7,856 KB
testcase_04 AC 15 ms
7,928 KB
testcase_05 AC 16 ms
7,928 KB
testcase_06 AC 15 ms
7,748 KB
testcase_07 AC 16 ms
7,840 KB
testcase_08 AC 131 ms
8,268 KB
testcase_09 AC 220 ms
8,284 KB
testcase_10 AC 172 ms
8,384 KB
testcase_11 AC 1,318 ms
8,720 KB
testcase_12 AC 692 ms
8,452 KB
testcase_13 AC 15 ms
7,924 KB
testcase_14 AC 2,117 ms
8,884 KB
testcase_15 AC 469 ms
8,600 KB
testcase_16 AC 1,100 ms
9,060 KB
testcase_17 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
ans = ""
for i in range(len(s) - 1):
    if s[i] != s[i + 1]:
        ans += s[i]
ans += s[-1]
print(ans)
0