結果

問題 No.1469 programing
ユーザー tobusakanatobusakana
提出日時 2021-04-18 15:08:26
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 115 bytes
コンパイル時間 678 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 271,268 KB
最終ジャッジ日時 2023-09-17 07:43:20
合計ジャッジ時間 9,356 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,324 KB
testcase_01 AC 72 ms
71,280 KB
testcase_02 AC 72 ms
71,204 KB
testcase_03 AC 72 ms
71,188 KB
testcase_04 AC 72 ms
71,412 KB
testcase_05 AC 85 ms
75,592 KB
testcase_06 AC 75 ms
75,568 KB
testcase_07 AC 78 ms
75,644 KB
testcase_08 AC 354 ms
85,748 KB
testcase_09 AC 590 ms
99,176 KB
testcase_10 AC 425 ms
94,156 KB
testcase_11 TLE -
testcase_12 AC 1,759 ms
260,656 KB
testcase_13 AC 76 ms
71,560 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

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