結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-04-09 21:21:59 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 320 ms / 3,000 ms |
| + 357µs | |
| コード長 | 139 bytes |
| 記録 | |
| コンパイル時間 | 231 ms |
| コンパイル使用メモリ | 96,100 KB |
| 実行使用メモリ | 300,232 KB |
| 最終ジャッジ日時 | 2026-07-29 14:59:33 |
| 合計ジャッジ時間 | 3,210 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
pre = '$'
ans = []
for c in input():
if c == pre:
continue
else:
ans.append(c)
pre = c
print(''.join(ans))
Kude