結果

問題 No.1469 programing
ユーザー 👑 H20H20
提出日時 2021-04-09 21:25:26
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 1,169 ms / 3,000 ms
コード長 132 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 427,416 KB
最終ジャッジ日時 2023-09-07 09:46:22
合計ジャッジ時間 4,203 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,516 KB
testcase_01 AC 67 ms
71,504 KB
testcase_02 AC 67 ms
71,352 KB
testcase_03 AC 69 ms
71,444 KB
testcase_04 AC 67 ms
71,152 KB
testcase_05 AC 91 ms
76,240 KB
testcase_06 AC 69 ms
71,408 KB
testcase_07 AC 67 ms
75,964 KB
testcase_08 AC 82 ms
81,856 KB
testcase_09 AC 87 ms
84,588 KB
testcase_10 AC 85 ms
83,424 KB
testcase_11 AC 112 ms
95,704 KB
testcase_12 AC 101 ms
93,028 KB
testcase_13 AC 64 ms
71,392 KB
testcase_14 AC 129 ms
109,276 KB
testcase_15 AC 115 ms
98,044 KB
testcase_16 AC 142 ms
115,364 KB
testcase_17 AC 1,169 ms
427,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools
L = list(input())
GB = itertools.groupby(L)
ANS = []
for k,v in GB:
    ANS.append(k)
print(''.join(map(str, ANS)))
0