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

Автор MateoCV, история, 13 месяцев назад, По-английски

Hola Codeforces!

The 2025 Argentinian Programming Tournament (TAP) was held last weekend. This is a 2025-2026 ICPC subregional contest for teams from Argentina to qualify to the South America/South Regional contest. You can send your solutions or do a virtual participation in the Codeforces gym. I invite you all to solve the problems.

The problems were written and prepared by Alejandro Strejilevich de Loma, elsantodel90, FedeNQ, fredy10, lsantire, MarcosK, Monazo1997, pablobce, and me (MateoCV)

I would like to thank Agua_Podrida, Aristides, CodigoL, Heibor, IvanRenison, Klaus26, MrNachoX, Tainel, kovaxis, and visho33 for solving and reviewing the problems and providing valuable feedback.

Feel free to use this blog to discuss about the problems :)

Happy coding!

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

»
13 месяцев назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Nice problems. What is the intended solution for problem D? I have a simulation sped up with linear memory binary lifting but I feel there is a simpler solution.

Also curious about problem K. Couldn't come up with a better approach than splitting colors by number of appearances and doing $$$O\left(\frac{N^2}{B} + \left(\frac{N}{B}\right)^2 \cdot \log N\right)$$$. Did not implement this.

Also, is there any editorial for problem F? Did not even consider solving it but I was curious how hard it actually is.

  • »
    »
    13 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +20 Проголосовать: не нравится

    For D:

  • »
    »
    13 месяцев назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +17 Проголосовать: не нравится

    For K, from the time complexity you mentioned, you seem to have a correct or close to correct idea (might be a bit too slow, more details below).

    Part 1
    Part 2
    Part 3
  • »
    »
    13 месяцев назад, скрыть # ^ |
     
    Проголосовать: нравится +8 Проголосовать: не нравится

    For F:

    I don't think the idea is very complicated, but I do think it is difficult to code as there can be a lot of edge cases.

    My solution
»
13 месяцев назад, скрыть # |
 
Проголосовать: нравится +19 Проголосовать: не нравится

Thanks everyone who helped with TAP 2025, especially Mateo for authoring so many of the problems.

Also, since I have already received a few codeforces private messages asking me about solutions, (shameless self-plug next) I might as well share here a couple of live streams (in Spanish) I made explaining (most of) the problems' solutions in detail, and coding them in Python:

https://www.youtube.com/watch?v=tsA3ySwurqs

https://www.youtube.com/watch?v=BCaP5uEdFwk

Hope somebody finds them useful :)

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

Someone have wa30 in H problem? Pls hint

»
3 месяца назад, скрыть # |
 
Проголосовать: нравится -37 Проголосовать: не нравится

CHUPAAAAA ARGENTINAAAAA

Fifa’s Princess for reason

SHAME ON YOU nothing to be proud of cheaters Edu175

ARG_EGY_Rigged

VARgentina

👎 👎