結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-14 00:55:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 232 ms / 3,000 ms |
| + 746µs | |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 248 ms |
| コンパイル使用メモリ | 95,476 KB |
| 実行使用メモリ | 102,660 KB |
| 最終ジャッジ日時 | 2026-08-02 04:08:52 |
| 合計ジャッジ時間 | 3,492 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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]