結果

問題 No.1469 programing
ユーザー AAAR Salmon
提出日時 2021-05-15 13:34:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 327 ms / 3,000 ms
コード長 147 bytes
コンパイル時間 374 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 100,160 KB
最終ジャッジ日時 2024-10-03 01:19:07
合計ジャッジ時間 2,653 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
N = len(S)
c = S[0]
print(c, flush=False, end='')
for s in S[1:]:
	if s == c:
		continue
	c = s
	print(c, flush=False, end='')
print()
0