結果

問題 No.1469 programing
ユーザー O2MTO2MT
提出日時 2021-04-11 01:05:40
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 126 bytes
コンパイル時間 775 ms
コンパイル使用メモリ 86,948 KB
実行使用メモリ 277,620 KB
最終ジャッジ日時 2023-09-09 04:43:55
合計ジャッジ時間 8,696 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,668 KB
testcase_01 AC 70 ms
71,560 KB
testcase_02 AC 70 ms
71,276 KB
testcase_03 AC 71 ms
71,116 KB
testcase_04 AC 70 ms
71,112 KB
testcase_05 AC 76 ms
75,932 KB
testcase_06 AC 75 ms
75,968 KB
testcase_07 AC 76 ms
76,100 KB
testcase_08 AC 334 ms
86,016 KB
testcase_09 AC 532 ms
98,840 KB
testcase_10 AC 450 ms
94,416 KB
testcase_11 TLE -
testcase_12 AC 1,801 ms
260,528 KB
testcase_13 AC 71 ms
71,420 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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