远程day3
#include using namespace std; struct node{ int a,b; }nw…
信息学奥赛技术分享博客
#include using namespace std; struct node{ int a,b; }nw…
The sixth day of Changle trainning. 今天上午打了200分,感谢出题者的放水…
Noip2023国庆集训A组Day8 A. 增量幻境(increase) 水题一题,贪心 #include u…
上午 打比赛 T1 贪心(找到尽量大的数字) 找规律 找到第一个s[i+1]
今天做了个二百五十分,非常开心,下午改完了,第四题还是不会
国庆第四天,今天做编程。
T1 签到题,单调栈就好了 T2 求无根树以每个点为根的lca总和 考虑对于每个点算它被用了几次,容易得出公式…
1.跳跃 很容易可以想出从左往右,状态从左边第一个比他大的数的地方转移过来,主要是单调栈我还真差点没印象,真不…