結果

問題 No.1469 programing
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-09-02 11:40:54
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 102 bytes
コンパイル時間 423 ms
コンパイル使用メモリ 86,672 KB
実行使用メモリ 275,680 KB
最終ジャッジ日時 2023-08-19 21:29:48
合計ジャッジ時間 13,502 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,048 KB
testcase_01 AC 70 ms
70,896 KB
testcase_02 AC 66 ms
71,004 KB
testcase_03 AC 67 ms
70,772 KB
testcase_04 AC 67 ms
70,736 KB
testcase_05 AC 134 ms
75,528 KB
testcase_06 AC 71 ms
75,464 KB
testcase_07 AC 73 ms
75,512 KB
testcase_08 AC 288 ms
85,504 KB
testcase_09 AC 452 ms
98,912 KB
testcase_10 AC 391 ms
93,880 KB
testcase_11 TLE -
testcase_12 AC 1,660 ms
260,144 KB
testcase_13 AC 68 ms
71,072 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-1] != S[i]:
        ans += S[i]
print(ans)
0