---
id: 1828
lang: en
translation_of: index.md
source_sha256: 86c40be2665ec1144c30e67a6c648c296af53fe41c35990e4e1e36fbb0c6bb5d
title: "CSP-S2 Diary & Summary"
description: "Day-by-day notes on CSP-S2: an easy start on Day 1, 64 points missed on Day 2 T2, and anger at how NCU ran the test site."
tags: ["OI","Summary"]
translated: 2026-11-27
translator: Claude Opus 5.5
translator_model: claude-opus-5-5
translation_notes:
  - "游记 in the title rendered as “Diary”."
  - "NCU kept as written (the author's abbreviation for the test site, Nanchang University); 特派员 rendered literally as “special commissioner”."
  - "滨江 kept as pinyin “Binjiang”, since what exactly it refers to (a campus) is not certain."
  - "送掉了 is chipped as 送掉 with its own gloss: the existing chip in another post glosses 送掉了 as “here, blowing the contest”, which does not fit throwing away T2 or 400 points."
  - "翻掉去年 Zepto 的分 rendered as “top Zepto's score from last year”, without a chip; Zepto is a handle and kept as written."
  - "滚回 rendered as “slunk back”, without a chip."
---

## Day 0

Spent the whole morning reading and reviewing, then watched the coach and the younger students kick a bottle around the classroom (<span class="slang" data-zh="沙雕" data-gloss="shādiāo, “sand sculpture”, a euphemistic pun on a ruder word for “idiot”. Goofy, ridiculous (often affectionate).">goofy</span> 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 <span class="slang" data-zh="神仙" data-gloss="shénxiān, “immortal”. Someone, or a problem or idea, so brilliant it seems superhuman.">godlike</span> school from Ganzhou, and my sense of <span class="slang" data-zh="滚粗" data-gloss="gǔncū, a playful spelling of 滚出 (gǔnchū), “get out”. Crashing out: failing and being sent home.">crashing out</span>++. Then I saw the <span class="slang" data-zh="神仙" data-gloss="shénxiān, “immortal”. Someone, or a problem or idea, so brilliant it seems superhuman.">godlike</span> zzr, and my sense of <span class="slang" data-zh="滚粗" data-gloss="gǔncū, a playful spelling of 滚出 (gǔnchū), “get out”. Crashing out: failing and being sent home.">crashing out</span> + $\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 <span class="slang" data-zh="滚粗" data-gloss="gǔncū, a playful spelling of 滚出 (gǔnchū), “get out”. Crashing out: failing and being sent home.">crashing out</span> doubled.

## Day 1

After breakfast we headed over to NCU, <span class="slang" data-zh="bb" data-gloss="Short for 哔哔 (bībī), “beep beep”. Slang for idle chatter, running one's mouth.">blabbered</span> 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 <span class="slang" data-zh="傻逼" data-gloss="shǎbī. A vulgar insult, roughly “idiot” or “stupid”.">idiotic</span> 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 <span class="slang" data-zh="sb" data-gloss="Initials of 傻逼 (shǎbī). A vulgar insult, roughly “idiot” or “stupid”.">stupid</span> 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 <span class="slang" data-zh="sb" data-gloss="Initials of 傻逼 (shǎbī). A vulgar insult, roughly “idiot” or “stupid”.">stupid</span> 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 <span class="slang" data-zh="菜逼" data-gloss="càibī, 菜 (cài, “vegetable”, i.e. bad at something) plus a vulgar suffix. A crude, self-deprecating word for a hopeless noob.">a shitty scrub</span>, so all I could do was wait for fate to descend upon me.

## Summary

After <span class="slang" data-zh="送掉" data-gloss="sòng diào, “give away”. Throwing away points, a problem, or a contest for nothing.">throwing away</span> T2 I was in a bad mood the whole time, then slunk back to Binjiang and sat through a whole evening of <span class="slang" data-zh="文化课" data-gloss="wénhuàkè, “culture classes”. Ordinary school subjects, as opposed to competition training.">regular classes</span>, completely <span class="slang" data-zh="自闭" data-gloss="zìbì, “autistic”. Internet slang for feeling so crushed or frustrated that you shut down and want to talk to no one.">shut down</span>. This contest was full of regrets: not just for me, since NCU's <span class="slang" data-zh="傻逼" data-gloss="shǎbī. A vulgar insult, roughly “idiot” or “stupid”.">idiotic</span> dean caused a lot of contestants to lose points unnecessarily. As for me, it was purely because I'm <span class="slang" data-zh="菜" data-gloss="cài, “vegetable”. Slang for being bad at something; weak.">weak</span>. 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 <span class="slang" data-zh="送掉" data-gloss="sòng diào, “give away”. Throwing away points, a problem, or a contest for nothing.">throw away</span> 400 points. Now I'm just waiting for the final results, which will decide whether I can keep competing.
