結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2023-07-03 13:05:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,811 ms / 3,000 ms |
| コード長 | 148 bytes |
| コンパイル時間 | 188 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 42,280 KB |
| 最終ジャッジ日時 | 2024-07-17 10:53:40 |
| 合計ジャッジ時間 | 4,923 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
s = input()
n = len(s)
t = []
for i, si in enumerate(s):
if i + 1 < n and si == s[i + 1]:
continue
t.append(si)
print("".join(t))
toshiro_yanagi