USP Try Outs 2025 Editorial
Difference between en1 and en2, changed 349 character(s)
## Hello, Codeforces!↵
↵
### Introduction↵
↵
Recently, we had the opportunity to prepare an editorial for problems from the **[USP Tryouts 2025](https://codeforces.me/gym/106039)**.↵
↵
My friends ([user:murkat,2026-07-08] and [user:GuilhermeKK,2026-07-08]) and I put a lot of effort into creating a detailed editorial, trying to teach the used techn
oiques.↵
### Who is this for?↵
↵
The contest has problems ranging from relatively straightforward observations and standard algorithms to much more complex data structures and techniques.↵
↵
If you are still building your competitive programming foundations, the easiest problems are a good opportunity to practice identifying the main idea and turning it into a clean implementation.↵
↵
If you already have more experience, the most difficult  problems cover 
techniques such as Meet in the Middle, persistent data structures, Eertrees, Merge Sort Trees, geometry, and some less obvious ad-hoc argumentsadvanced techniques(try problem C and E).↵
↵
Even if you have already solved the contest, reading through the editorial can still be useful for comparing approaches and finding different ways to reason about the problems.↵
↵
### The Full Editorial↵
↵
We prepared the editorial in both Portuguese and English. Both versions contain detailed explanations of the main ideas, complexity analysis, and complete C++ implementations.↵
↵
The Portuguese version can be found here:↵
↵
**[Editorial em Português](
PORTUGUESE_EDITORIAL_LINK)**↵
↵
The English version can be found here:↵
↵
**[Editorial in English](ENGLISH_EDITORIAL_LINK)**↵
↵
As always, w
https://drive.google.com/file/d/1SOMlZyJcd6_aYcC-OOZ11PluWtOVCek6/view?usp=sharing)**↵
↵
The English version can be found here:↵
↵
**[Editorial in English](https://drive.google.com/file/d/1AD38Kr5ltbGSe3JCnfBo1Fgz73J_q_4-/view?usp=sharing)**↵
↵
W
e recommend spending some time thinking about each problem before reading its full solution. Some of the most interesting parts of this contest are precisely the observations that lead to the intended approaches! If you are stuck, we highly recommend you to not read the complete solution, maybe reading a little bit it's enough for you to solve the entire problem!↵
↵
### Conclusion↵
↵
↵
If you liked the contest, have any suggestions, found an alternative solution, or noticed any mistakes in the editorial, please let us know in the comments!↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English pedriwnl 2026-07-28 23:00:19 349 Tiny change: 'used technoiques\n### Who ' -> 'used techniques.\n### Who ' (published)
en1 English pedriwnl 2026-07-28 03:04:41 2128 Initial revision (saved to drafts)