Блог пользователя blackscreen1

Автор blackscreen1, история, 14 часов назад, По-английски

Introduction

This last weekend, I took part in SEATST (Southeast Asia Team Selection Test) 2026. A few people (namely YSH2020 and Tyx2019) have posted blogs on the contest.

About SEATST

SEATST is a IOI format (2 days, 3 problems in 5 hours on each day) contest made in 2025 that "replaced APIO as a crucial component of IOI selection in Singapore." (this statement is directly quoted from the SEATST website found here).

Looking at my APIO scores for these 2 years and my SEATST scores, I believe I am one of the largest beneficiaries for the shift away from APIO towards SEATST. Here are my scores:

  • APIO 2025: 87/300, 10th in SG
  • SEATST 2025: 380/600, 3rd in SG
  • APIO 2026: 13.5/300, 21st in SG (I know my strategy was kinda screwed but whatever)
  • SEATST 2026: 419/600, 4th in SG

My experience this year

I had quite an interesting experience in this year's SEATST, best summed up by my score distribution:

(300 on day 1, 119 on day 2)

This is also why I'm only doing editorial for day 1.

The contest quality was actually pretty good. Just that on day 2 I spent too long debugging and failing to spot the bug.

Problems

The problems can be found here. There are English translations on the website.

The following includes abridged problem statements and ideas for each problem.

Problem 1A (Two Exams)

Abridged statement: Given positive integer $$$N$$$ and two permutations $$$A$$$ and $$$B$$$ of $$$[0,1,2,\cdots,N-1]$$$, a permutation $$$P$$$ of $$$[0,1,2,\cdots,N-1]$$$ is valid if for all $$$0 \le i \le N-1$$$, one of the following hold:

  • For all $$$j$$$ such that $$$P[j] \lt P[i]$$$, $$$A[j] \lt A[i]$$$
  • For all $$$j$$$ such that $$$P[j] \lt P[i]$$$, $$$B[j] \lt B[i]$$$

Minimise the largest value of $$$P[i] - i$$$.

Limits: $$$N$$$ up to 5 million

Thoughts on problem
Motivation and Solution

Problem 1B (Country Ranks)

Abridged statement: There are $$$N$$$ people, sorted in order of their rank from $$$0$$$ to $$$N-1$$$. The country rank of the person is defined as the rank of the person within every person in their country, i.e. the number of people in the same country who beat the person. Given each person's country rank, determine the number of pairs of people that (a) must have the same country and (b) must have different countries.

All ranks are zero indexed.

Part (a) is worth 30 points, while part (b) is worth 70 points.

Limits: $$$N$$$ up to 1 million

Thoughts on problem
Motivation and Solution

Problem 1C (XOR Teleport)

Abridged statement: There is an edge-weighted tree with $$$N$$$ nodes. The cost of travelling between a node and its ancestor or descendent in a single step is the path XOR. Answer $$$Q$$$ queries: given nodes $$$u$$$ and $$$v$$$, minimise the largest cost of steps used to go from node $$$u$$$ to $$$v$$$.

Limits: $$$N$$$ up to $$$50000$$$, $$$Q$$$ up to $$$100000$$$, $$$W$$$ (maximum weight) up to $$$2^{20} - 1$$$

Thoughts on problem
Motivation and Solution

Closing remarks

SEATST was generally quite fun, and now I'm in the Singapore IOI team. I have a few things to do:

  • Get my CF rating up to pull up the country average IOI team CF rating ranking (and maybe improve my country rank, you never know)
  • Figure out how to replicate my SEATST day 1 performance
  • Figure out how NOT to replicate my SEATST day 2 performance

Guess I have extended retirement date now... Let's see what I can do.

  • Проголосовать: нравится
  • +41
  • Проголосовать: не нравится

»
8 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by blackscreen1 (previous revision, new revision, compare).

»
8 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

well i also got only 18 points in APIO this year, my strategy was just screwed but anyways.