結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-13 20:53:23 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 189 bytes |
コンパイル時間 | 162 ms |
コンパイル使用メモリ | 82,244 KB |
実行使用メモリ | 285,116 KB |
最終ジャッジ日時 | 2024-06-30 01:12:36 |
合計ジャッジ時間 | 12,037 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 TLE * 2 -- * 3 |
ソースコード
s = input() ans = s[0] pre = s[0] if len(s) != 1: for i in range(1, len(s)): if pre != s[i]: ans = ans + s[i] pre = s[i] print(ans)