- 2024-02-20UESTC 2024 寒假集训 - Day4
Preface万恶的psk搬的全是Atcoder上的题目,然后理所当然的后面题目全是CountingProblem了作为计数苦手直接当场暴毙,3h写完前面的8个题然后直接跑路AtCoderarc148_amodM开场差点被签到腐乳了,没发现答案不是\(1\)就是\(2\)直接傻掉了由于\(M=2\)时答案至多为\(2\),因此只需
- 2023-04-19UESTC Final Pan's prime numbers 1272 (坑)
FinalPan'sprimenumbersTimeLimit:3000/1000MS(Java/Others) MemoryLimit:65535/65535KB(Java/Others)Submit StatusFinalPanlikesprimenumbersverymuch.Oneday,hewanttofindthesuperprimenumbers.Aprimenumbers n(n>4)
- 2023-04-13(CCPC F题)UESTC 1220 The Battle of Guandu (最短路)
题目地址:UESTC1220比赛的时候翻译完想了一小会就没再管。结果K题也没调试出来。。这题是很神奇的图论题,建图方式是从y[i]到x[i]连一条有向边,权值为c[i]。然后将所有重要性为0的设为源点,然后跑最短路,结果就是所有重要性为2的点的最短距离。实在是不好解释和证明这种建图的正
- 2022-11-09UESTC 1270 Playfair
DescriptionPlayfairisakindofsubstitutioncipher.Andtheencryptionroleissimple.Ingeneral,therearethreestepsinPlayfairalgorithm.Step1:Crea
- 2022-11-09UESTC 1272 Final Pan's prime numbers
DescriptionFinalPanlikesprimenumbersverymuch.Oneday,hewanttofindthesuperprimenumbers.Aprimenumbers n(n>4)isasuperprimenumberonlyif
- 2022-10-18UESTC 482 Charitable Exchange(优先队列+bfs)
CharitableExchangeTimeLimit:4000/2000MS(Java/Others) MemoryLimit:65535/65535KB(Java/Others)Submit StatusHaveyoueverheardastarcharityshow