結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-14 00:55:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 216 ms / 3,000 ms |
| コード長 | 198 bytes |
| 記録 | |
| コンパイル時間 | 1,444 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 99,072 KB |
| 最終ジャッジ日時 | 2026-03-19 20:50:38 |
| 合計ジャッジ時間 | 2,505 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_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]