結果

問題 No.1469 programing
ユーザー AAAR SalmonAAAR Salmon
提出日時 2021-05-15 13:31:29
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 133 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 82,168 KB
実行使用メモリ 283,572 KB
最終ジャッジ日時 2024-04-14 04:06:36
合計ジャッジ時間 7,364 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
60,064 KB
testcase_01 AC 35 ms
52,852 KB
testcase_02 AC 36 ms
52,308 KB
testcase_03 AC 36 ms
52,516 KB
testcase_04 AC 38 ms
52,740 KB
testcase_05 AC 41 ms
60,740 KB
testcase_06 AC 40 ms
59,308 KB
testcase_07 AC 42 ms
60,916 KB
testcase_08 AC 305 ms
84,704 KB
testcase_09 AC 494 ms
97,840 KB
testcase_10 AC 452 ms
93,148 KB
testcase_11 TLE -
testcase_12 AC 1,772 ms
260,216 KB
testcase_13 AC 36 ms
52,520 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
N = len(S)
T = S[0]
c = S[0]
i = 1
while i < N:
	if S[i] == c:
		i += 1
		continue
	T += S[i]
	c = S[i]
	i += 1
print(T)
0