Things

JXOI 2020 Diary

As for a person's fate, of course it depends on one's own struggle, but one must also take into account the journey of history.

The Elder

Day < 0

Before the provincial team selection I did some Yali training camp problems and some sets lcx put together himself, and felt there was no team left for me to get into. Especially with the Yali camp sets: the moment I saw the observation problems and sqrt-decomposition problems I had a total meltdown on the spot and felt there was no saving me.

I opened an alt account on Luogu, prepared some template code, took a few notes on math problems, and did nothing beyond that, quietly waiting for fate to arrive.

Practice Day

In the morning I typed out some templates in the Qingshanhu computer lab, then watched simulated annealing with lal. It was everyone's first joint provincial selection, and nobody knew what the problems would actually look like, so the morning was still pretty happy.

In the afternoon I got a ride in zzr's family's car to JXNU. We walked for a long time before reaching the Xianxiao Building, and found the lab environment very nice; we also learned that data safety was guaranteed, which put me at ease. Afterwards, on the platform at Olympic Sports Center station, I ran into the godlike chj, and somehow felt really happy: yet another god who loves OI had returned to the arena that belongs to him.

Then I took the metro home. After I got home some bad things happened, and my mentality was wrecked beyond belief the whole evening. (jxsdfzbj, go to hell)

Contest Day - Day 1

I got up at 6:20 in the morning to have breakfast and head to Yaohu. Actually, I later found this was way too early: Honggu Tunnel + the Riverside Expressway gets you there in 40 minutes. The Riverside Expressway in the old town really is built nicely; after the college entrance exam I might recreate it in Cities: Skylines.

Sure enough, we got there at 7:30, which was a bit early. I read my notes in the car for a while and slept a bit, and only walked in through the Qinglan Gate at 8:05. Along the way I ran into Teacher Gong from Jiujiang and lcx, said hi, and went upstairs into the lab. It was 28 past before I sat down and booted up, opened the statements, quickly read through all three problems, and got ready to start. After looking at the first problem for a while, I remembered Merging Fruit and even wanted to write a greedy, then came up with a brain-dead DP, figured its correctness couldn't be wrong, and finished typing it in 5min. (Holy shit, it's that stupid?)

Looking at the second problem, I saw there were 60 points of brute force and typed it up, but on the rerooting-DP subtask I fucking got the array bound wrong again, and the answer came out negative and I somehow didn't notice??? In the end it blew up and only 30 was left.

Then I went to look at the third problem. It was only 9:45, and I had even stalled for time on purpose. After a while I saw it was just a data-structure lookup problem; seeing the hint that the total doesn't exceed \(2 \times 10^9\), I thought of binary search, and found that binary search + segment tree could pass at least \(2 \times 10^5\). I didn't pay much attention to the remaining 40 points, and didn't want to squeeze the constant factor either.

After writing it I made some data and timed a few of the problems, and thought there was nothing wrong (FFS, why didn't I go check B, it pisses the hell out of me), and in the end handed in my code at 13:00.

In the afternoon I went to Greenland and had Pizza Hut, then went home and started slacking off. In the evening I talked to ssm to get my head back together, and my mood got better right away.

Contest Day - Day 2

This morning I got up a bit later. When I reached the Qinglan Gate I happened to run into \(zzr \times 2\), and we chatted all the way to the Xianxiao Building; along the way we ran into a godlike contestant from zyx's alma mater.

In the lab, \(zzr \times 2\) very naturally opened Physics 3-5 and started reading. lcx walked over, saw this, and had a total meltdown on the spot. lal and I watched simulated annealing on the side.

The contest started and I read the problems, getting ready to think seriously about T1, but that process didn't even last 30s before I just insta-solved it. Spent 10 min casually writing it, and it passed the large sample.

Then I looked at T2, wrote out a summation, and found it was enough to handle the two conditions separately, and that 60 points were doable. Spent 15 min casually writing it and it passed the large sample. Later I found that adding a register to the loop's \(i, j\) could squeeze it to 70 points. (Setting a constant-squeezing problem, CCF, go to hell)

By then it was about 9:40 (doesn't seem to separate people much, huh)

I took a look at T3 and thought there might be some magical conclusion about tournament graphs, then thought it looked a lot like some problem from the 2018 Nowcoder NOIP training camp, something like cycle canceling. In the end I took 50 points of brute force and went home.

In the last half hour I checked and found two very serious bugs in T1, spent five minutes writing the patch with shaking hands, made a few tricky test cases myself, felt it was rock-solid, and submitted.

Leaving the lab I felt like a weight had been lifted. We had Teacher Hu from Jiangke take a group photo of us, and then everyone went home.

In the afternoon I grabbed something to eat at Greenland, got a haircut in the evening, then packed up my books for regular classes and went to sleep.

After the Contest

While doing parametric equations it suddenly hit me that the array size on my D1T2 had blown up, and when I looked at the code they sent back, it really had blown up, and my mentality collapsed sky-high. Meanwhile lcx went home to get his code, which only further confirmed the reality that I'd been crushed. Thinking that I'd soon have to go back for the college entrance exam, I really couldn't accept it.

The next morning I had just started calmly studying math in the lab when lcx suddenly said the scores were out. I was completely stunned. Luckily nothing apart from the rerooting DP had lost points; then I worked out the weighted score from CSP and the provincial selection, and I could actually be rank 3? A bit unbelievable. Then I found that lal had made the provincial team right on the cutoff line, and all of Qingshanhu was filled with happiness. In the evening I bought a bowl of instant noodles to treat myself (lcx abandoned us and went out to eat).

Summary

As a contestant who started informatics competitions in the first year of high school, from the very start of that year, with a bottom-of-the-list provincial third prize and my season over right then, to last semester's ICPC and CSP-S 2019, and on to today's JXOI 2020, although my career so far has been just a short two years, the things I've learned, the moments that moved me, and the people I've met along the way are countless. As the contestant with the lowest IQ in FZOI history, the only one of FZOI 2018 left who made it to today, I think luck and shameless persistence are the main things that kept me going.

I never imagined I could represent FZOI on the Jiangxi provincial team; at least, the little boy in that hotel in Changsha two years ago, in utter misery, certainly never imagined it.

At last, it's my turn too.

Comments 7

  1. zzr8178541919

    %%%%%%%%%%%%%%%%tql

  2. Zepto

    两年前长沙酒店发生了什么

  3. Zxilly

    %队爷

  4. Auroclip

    %%%队爷tql

  5. Limstash

    您强强啊

  6. 卢安来

    %%%%%%%%%%%%%%%%tql

  7. zyc2004

    %%%%%%%%%tql