結果

問題 No.1469 programing
ユーザー kfield1950kfield1950
提出日時 2021-04-13 20:16:27
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 117 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 271,172 KB
最終ジャッジ日時 2023-09-12 12:27:35
合計ジャッジ時間 13,730 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,400 KB
testcase_01 AC 70 ms
71,536 KB
testcase_02 AC 69 ms
71,496 KB
testcase_03 AC 71 ms
71,224 KB
testcase_04 AC 71 ms
71,448 KB
testcase_05 AC 75 ms
75,640 KB
testcase_06 AC 76 ms
75,916 KB
testcase_07 AC 74 ms
75,984 KB
testcase_08 AC 303 ms
85,876 KB
testcase_09 AC 462 ms
99,120 KB
testcase_10 AC 406 ms
94,196 KB
testcase_11 TLE -
testcase_12 AC 1,682 ms
260,736 KB
testcase_13 AC 72 ms
71,408 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 = ans + s[i]
        
print(ans)
0