結果

問題 No.1469 programing
ユーザー momoyuumomoyuu
提出日時 2022-08-03 17:08:26
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 127 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 271,488 KB
最終ジャッジ日時 2023-10-11 11:35:05
合計ジャッジ時間 7,693 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,636 KB
testcase_01 AC 72 ms
71,468 KB
testcase_02 AC 71 ms
71,628 KB
testcase_03 AC 71 ms
71,576 KB
testcase_04 AC 70 ms
71,488 KB
testcase_05 AC 76 ms
76,104 KB
testcase_06 AC 75 ms
75,680 KB
testcase_07 AC 75 ms
76,060 KB
testcase_08 AC 356 ms
86,316 KB
testcase_09 AC 599 ms
99,228 KB
testcase_10 AC 534 ms
94,280 KB
testcase_11 TLE -
testcase_12 AC 1,882 ms
260,768 KB
testcase_13 AC 71 ms
71,676 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
s = ""
now = ""
for i in range(len(S)):
    if now == S[i]:
        continue
    s += S[i]
    now  = S[i]
print(s)
0