Sell
[LeetCode][309]best-time-to-buy-and-sell-stock-with-cooldown
# Content You are given an array prices where prices[i] is the price of a given stock on the ith day. Find the maximum profit you can achieve. You may ......
[LeetCode][121]best-time-to-buy-and-sell-stock
# Content You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a s ......
CF865D Buy Low Sell High
# CF865D Buy Low Sell High 我发现自己是真的学不会贪心……太玄学了。 这是一道反悔贪心的题目,比较简单的那种。 ## 题意 你是一棵韭菜,喜欢炒股,每天可以买入一股或卖出一股,且最后一天之后你持有的股票数目应该为 $0$。你现在知道 $n$ 天的股票价格,求最大获利。 ## ......
Backtrader - Sell/Buy signal labels are missing in the plotting
1.0 Missing Sell/Buy signal labels 2.0 Solution cerebro = bt.Cerebro(stdstats=True, cheat_on_open=True) stdstats=True,用回預設的stdstats就能顯示Sell/Buy signal ......
Sell Pigs 题解
[Sell Pigs](https://www.luogu.com.cn/problem/SP4063) [双倍经验](https://www.luogu.com.cn/problem/P4638) ### 题目大意 有 $n$ 个顾客前来买猪,共有 $m$ 个猪圈,每个顾客携带着某一些猪圈的钥匙, ......