結果

問題 No.1469 programing
ユーザー ygd.ygd.
提出日時 2021-04-09 21:39:23
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 140 bytes
コンパイル時間 1,421 ms
コンパイル使用メモリ 86,764 KB
実行使用メモリ 275,676 KB
最終ジャッジ日時 2023-09-07 10:24:22
合計ジャッジ時間 8,810 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,428 KB
testcase_01 AC 75 ms
71,164 KB
testcase_02 AC 77 ms
71,192 KB
testcase_03 AC 77 ms
71,172 KB
testcase_04 AC 77 ms
71,332 KB
testcase_05 AC 83 ms
75,652 KB
testcase_06 AC 79 ms
75,932 KB
testcase_07 AC 83 ms
75,716 KB
testcase_08 AC 432 ms
85,988 KB
testcase_09 AC 648 ms
99,056 KB
testcase_10 AC 526 ms
94,220 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = str(input())
N = len(S)
ans = S[0]
for i in range(1,N):
    if S[i] == S[i-1]:
        continue
    else:
        ans += S[i]
print(ans)
0