結果

問題 No.1469 programing
ユーザー kfield1950kfield1950
提出日時 2021-04-13 20:31:39
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 145 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 87,372 KB
実行使用メモリ 282,532 KB
最終ジャッジ日時 2023-09-12 12:43:27
合計ジャッジ時間 7,804 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,364 KB
testcase_01 AC 73 ms
71,536 KB
testcase_02 AC 73 ms
71,480 KB
testcase_03 AC 75 ms
71,388 KB
testcase_04 AC 75 ms
71,380 KB
testcase_05 AC 79 ms
75,976 KB
testcase_06 AC 76 ms
76,176 KB
testcase_07 AC 79 ms
75,956 KB
testcase_08 AC 369 ms
86,020 KB
testcase_09 AC 569 ms
99,160 KB
testcase_10 AC 469 ms
94,228 KB
testcase_11 TLE -
testcase_12 AC 1,990 ms
260,872 KB
testcase_13 AC 75 ms
71,524 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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