首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
hzwer专题
noip模拟题 小奇2 by hzwer[DP][路径压缩][分类讨论][位运算]
这么颓下去,迟早要完。 这套题只考了2h,感觉还不错,T2做过类似的所以A了,T1和T3基本上也没什么大问题,关键就是要深入挖掘问题特质,学会分类讨论(很多题都可以剪掉大量的枝,比如T1,小奇1的T3,noip2015 day1 T3,都是需要有这种分类意识的。 T1: 题意:在坐标轴上有一些点有收益,问从0开始,每次只能向前跳4(0+4=4)步或7(0+7=7)步,最大收益是。 数据范围
阅读更多...
【比赛报告】AHSOFNU codeforces训练赛1 by hzwer NOIP练习赛卷三
比赛链接 A.The Game Of Parity Description There are n cities in Westeros. The i-th city is inhabited by ai people. Daenerys and Stannis play the following game: in one single move, a player chooses a c
阅读更多...