結果

問題 No.1469 programing
ユーザー pajannatpajannat
提出日時 2021-04-09 21:36:20
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 148 bytes
コンパイル時間 552 ms
コンパイル使用メモリ 86,896 KB
実行使用メモリ 271,148 KB
最終ジャッジ日時 2023-09-07 10:16:57
合計ジャッジ時間 7,945 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
75,660 KB
testcase_01 AC 72 ms
71,476 KB
testcase_02 AC 70 ms
71,156 KB
testcase_03 AC 71 ms
71,288 KB
testcase_04 AC 74 ms
71,152 KB
testcase_05 AC 79 ms
75,988 KB
testcase_06 AC 79 ms
75,672 KB
testcase_07 AC 78 ms
76,044 KB
testcase_08 AC 353 ms
85,836 KB
testcase_09 AC 509 ms
99,204 KB
testcase_10 AC 444 ms
94,280 KB
testcase_11 TLE -
testcase_12 AC 1,941 ms
260,728 KB
testcase_13 AC 75 ms
71,220 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

Ans = ""

cnt = 0
for i in S:
    if cnt == 0:
        Ans += i
    else:
	    if i != S[cnt-1]:
	    	Ans += i
    cnt += 1
print(Ans)
0