結果

問題 No.1469 programing
ユーザー otsunekootsuneko
提出日時 2021-05-03 21:29:50
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 142 bytes
コンパイル時間 257 ms
コンパイル使用メモリ 86,928 KB
実行使用メモリ 271,428 KB
最終ジャッジ日時 2023-09-29 17:53:06
合計ジャッジ時間 13,940 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,504 KB
testcase_01 AC 68 ms
71,532 KB
testcase_02 AC 68 ms
71,144 KB
testcase_03 AC 71 ms
71,296 KB
testcase_04 AC 67 ms
71,268 KB
testcase_05 AC 71 ms
75,796 KB
testcase_06 AC 71 ms
75,740 KB
testcase_07 AC 74 ms
75,740 KB
testcase_08 AC 291 ms
85,868 KB
testcase_09 AC 465 ms
99,260 KB
testcase_10 AC 402 ms
94,164 KB
testcase_11 TLE -
testcase_12 AC 1,702 ms
260,404 KB
testcase_13 AC 69 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] == S[i-1]:
        continue
    else:
        ans += S[i]

print(ans)
0