CSP-S2 Diary & Summary
Day 0
Spent the whole morning reading and reviewing, then watched the coach and the younger students kick a bottle around the classroom (goofy stuff). I felt I was in decent shape. In the afternoon we all went over the things to watch out for and such, and then lcx and I headed off to NCU.
On the way we ran into some godlike school from Ganzhou, and my sense of crashing out++. Then I saw the godlike zzr, and my sense of crashing out + \(\infty\). In the evening I wrote a bit of code at random and went to bed early, then dreamed that I couldn't solve the first two problems of Day 1, and my sense of crashing out doubled.
Day 1
After breakfast we headed over to NCU, blabbered for a while before the contest, and then went into the exam room. Just a few days earlier we had found out that this year we would have to use NOI Linux, which caught us completely off guard; NCU's new special commissioner is truly idiotic to the extreme. Half an hour before the start they had us watch a video to learn how to submit and so on, and I honestly think that was way too irresponsible. Trash school.
Got the problems 10 minutes after the start, read the statements and constraints of all three, found that the first one was a stupid problem, and happily passed it (in fact, I noticed the illegal case of shifting bits directly without using ull, so I added an extra const defining an ull equal to 1).
At first the second problem seemed hard to do, but later I found it was enough to consider the cases separately: record the number of valid substrings ending at the current node, then take prefix sums. So in the first hour I passed both of the first two problems.
At first I thought the third problem would also be a stupid problem, but later I found it was super hard, and on top of that I misread it, so I kept debugging the second test case of the first sample. So I wrote a 10-point solution and walked out. At the time I was wondering how to go back and answer to lcx, because I had done super badly. In the end it turned out everyone got 210, and then I calmed down.
Day 2
After booting up the machine I got the statements, and my first impression: emmm, none of them seem very doable. After half an hour of reading the problems, I started writing the 75 points for T3. An hour later, the binary tree still wasn't debugged, so I went straight to writing the \(\Theta(n^3)\) brute force for T2, and finished it in no time. Then I went and grabbed the 64-point brute force for T1: set up a high-dimensional DP plus some simple accumulation and that's it.
I think the biggest pity of Day 2 is not writing the 64 points for T2, even though I thought of it in the last 5 minutes: actually, if you change the enumeration order and spot the monotonicity, you get 64 points. But I really am a shitty scrub, so all I could do was wait for fate to descend upon me.
Summary
After throwing away T2 I was in a bad mood the whole time, then slunk back to Binjiang and sat through a whole evening of regular classes, completely shut down. This contest was full of regrets: not just for me, since NCU's idiotic dean caused a lot of contestants to lose points unnecessarily. As for me, it was purely because I'm weak. Those 64 points on Day 2 T2 will make my heart ache for a long time to come. I had planned to top Zepto's score from last year, but I never expected that the moment the problems got harder this year I would just throw away 400 points. Now I'm just waiting for the final results, which will decide whether I can keep competing.