結果

問題 No.1469 programing
ユーザー dangodango
提出日時 2023-06-12 20:02:05
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 153 bytes
コンパイル時間 423 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 269,660 KB
最終ジャッジ日時 2023-09-02 13:54:12
合計ジャッジ時間 8,646 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
75,708 KB
testcase_01 AC 76 ms
71,204 KB
testcase_02 AC 76 ms
71,228 KB
testcase_03 AC 75 ms
71,332 KB
testcase_04 AC 75 ms
71,328 KB
testcase_05 AC 78 ms
75,392 KB
testcase_06 AC 78 ms
75,168 KB
testcase_07 AC 80 ms
75,500 KB
testcase_08 AC 364 ms
80,832 KB
testcase_09 AC 510 ms
87,436 KB
testcase_10 AC 470 ms
84,868 KB
testcase_11 TLE -
testcase_12 AC 2,000 ms
259,936 KB
testcase_13 AC 77 ms
70,976 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

def n(s):
    result = ''
    for i in range(len(s)):
        if i == 0 or s[i] != s[i-1]:
            result += s[i]
    return result
print(n(input()))
0