Loading [MathJax]/jax/output/HTML-CSS/jax.js

坑 PA2008(7)

hhw posted @ 2015年8月23日 18:27 in with tags main PA , 1200 阅读

挖下巨大的坑!主要是因为最近过于颓废,而且发现智商低到连POI都切不动。。于是黈力就推荐给我PA2008,听说题目从一眼秒的斯波题到黈力也做不出的神题都有,看来非常适合我这种由于智商不够而AFO的选手。

开学了好忙啊。。学考好烦啊。。政史地好难啊。。学习压力好大啊。。感觉根本没时间来机房啊。。看来在学考之前我要进入切傻逼题保持手感的不归路了。。。还有几道难题先坑着吧。。。我联赛结束后会来填的!(随便找个借口就坑掉真的好吗。。随便立flag真的好吗。。)

A Cat on a Keyboard (Round 0) (10/10)
Logarithmic Paprika [B] (Round 1) (10/10)
Bug [A] (Round 2) (10/10)
Paper Clips [B] (Round 2) (0/10)
Diagonals [B] (Round 3) (10/10)
Studies [A] (Round 3) (10/10)
Mosaicism [B] (Round 4) (10/10)
Turns [A] (Round 4) (10/10)
Cliquers [A] (Round 5) (10/10)
Journey [B] (Round 5) (10/10)
Questions [A] (Round 5) (0/10)
Chessboard [B] (Round 5) (10/10)
Cliquers Strike Back [A] (Round 6) (0/10)
Safe [B] (Round 6) (10/10)
Dragon Milkdrinker [A] (Round 6) (0/10)
Potato [B] (Round 6) (10/10)
Near 2 (Final round - practice session) (10/10)
Near (Final round - practice session) (10/10)
Balloons (Final round) (0/10)
Idempotent Functions (Final round) (10/10)
Reconstruction of Byteland (Final round) (10/10)
Return of the Cliquers (Final round) (0/10)
Electricity (Final round) (10/10)
Computation of a Road Network Plan (Final round) (10/10)
Enumeration of Road Network Plans (Final round) (0/10)

黈力说不写题解骗不来访问量。。那我写一发简单题解。。

kot:怎么暴力怎么来。。

pap:从低到高摞,如果=0就计算到当前为止最大能摞出多少,否则把这一位/2加到下一位去,这一位变成这一位%2(伪科学做法。。不要问我为什么是对的)

bug:拆点最短路,根据长度的奇偶分别更新就好了

spi:太神了不会做TAT

prz:考虑两条对角线相交就是说一条对角线的一个端点在另一条的两个端点之间,而另一个端点不在两个端点之间,那么对于每一条对角线只需要找到一个端点在这条对角线的端点之间的对角线中另一个端点最远的,那么就变成了一个rmq问题,ST算法加读入优化可以卡着时间和内存过。。。(标算应该是O(m)的,然而我不会。。)

stu:就是黈力膜你赛“走走走”题,floyd就好了

moz:暴力出奇迹!O(n432)可过不要虚

zak:后缀数组模板题,扭出height之后就随便搞了

kli:首先你要知道有个叫五边形数定理的东西,然后就没有了

pod:大力容斥就好了,扭脖了好几天才想出来。。。太差了

sza:按行或列或对角线排序,然后那些能挡路的就一定是前驱或后继了,螺一螺就好了

sej:kmp求循环节,然后O(n)找到那个所有点离它距离最小的点就好了

smo:神题。。0人A。。推了下发现好像是个卷积?然而它不是离散的?所以要用连续傅里叶变换?这是什么鬼啊。。反正我是不会做

zie:区间dp,类似于取石子石子合并,O(n3k)

jab:大力分类讨论,用树状数组维护前缀最大值就好了。。这么简单的题扭脖了好几天都没想出来。。扭脖了那么多天居然连分类讨论都想不到。。还是黈力一语道破天机。。果然还是太弱了啊TAT。

nie:排序后扫一遍就没了

fun:就是求合法的排列数使得根据排列置换后得到的函数是个菊花森林,那么显然如果有f[i]=i那么h[g[i]]=i,剩下的没在f中出现的值是可以任意排列的,于是就做完了。(吐槽:main上的数据范围真是奇葩。。n=1000000的题通常是O(nlogn)的算法,而n=200000的题却有O(n)算法。。。)

odb:幻想乡重建计划Byteland重建计划,就是黈力膜你赛的“邮邮邮”题,把点分5组然后两两螺杆,注意特判n=7

pra:dp,然后树状数组维护前缀和

wyz:搞一条长链然后在一端接一大堆点就好了,注意边界情况

感觉跳过的题有点多?没办法毕竟太弱

过半了真开心,然而剩下的题目似乎都不是很切得动的样子。。。没办法毕竟太弱,使劲切吧

那两道组合计数题真是丧病。。

开学了估计切题时间要大大减少了。。TAT不知道什么时候能填完了

Avatar_small
mxh1999 说:
2015年11月15日 20:19

现在是时候兑现您的诺言了

Avatar_small
Grade 8 Result chitt 说:
2022年8月31日 14:38

Chittagong is also another best education board under all education board Bangladesh, and this is also one of the divisions under eight education boards of the country, the Secondary and Higher Secondary Education Board has successfully completed those Junior School Certificate and Junior Dakil (Grade-8) annual final examination tests between 2nd to 11th November 2022 with the same schedule of all education board. Grade 8 Result chittagong The School Education Department has announced there are lakhs of students are appeared and participated in the JSC & JDC terminal examinations 2022 from all districts of Chittagong division, the Grade 8th standard examinations are successfully completed and the students are waiting to get JSC Result 2022 with total marksheet with subject wise marks.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter