結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2022-04-19 03:54:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,987 ms / 3,000 ms |
| コード長 | 177 bytes |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 95,836 KB |
| 最終ジャッジ日時 | 2024-12-30 21:44:29 |
| 合計ジャッジ時間 | 5,684 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
import sys
readline=sys.stdin.readline
ans_lst=[]
for s in readline().rstrip():
if ans_lst and ans_lst[-1]==s:
continue
ans_lst.append(s)
print(*ans_lst,sep="")
vwxyz