結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-14 00:55:01 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 293 ms / 3,000 ms |
コード長 | 198 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 82,400 KB |
実行使用メモリ | 95,996 KB |
最終ジャッジ日時 | 2024-06-30 03:19:14 |
合計ジャッジ時間 | 2,450 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
s = input() ans = s[0] pre = s[0] print(s[0], end='') if len(s) != 1: for i in range(1, len(s)): if pre != s[i]: print(s[i], end='') pre = s[i]