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

Автор WorldWarV, история, 2 недели назад, По-английски

Thanks for participating in Codeforces Round 1122 (Div. 3)!

Rate the contest!

2266A - Good Contest

Hint
Solution
Code (C++)
Rate the problem!

2266B - Three Piles

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266C - AND, OR, Sort!

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266D - Falling Concrete

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266E - Prime Destruction

Hint
Solution
Bonus
Code (C++)
Rate the problem!

2266F - MEX Replacement

Hint 1
Hint 2
Hint 3
Solution
Bonus
Bonus Answer
Code (C++)
Rate the problem!

2266G - Modular Tree

Hint 1
Hint 2
Hint 3
Solution
Code (C++)
Rate the problem!

2266H - Deque Malfunction

Hint 1
Hint 2
Hint 3
Hint 4
Solution
Implementation 1: Lazy Segment Tree
Code (Lazy Segment Tree)
Implementation 2: Amortized Set Deletion
Code (Amortized Set Deletion)
Rate the problem!

Полный текст и комментарии »

Разбор задач Codeforces Round 1122 (Div. 3)
  • Проголосовать: нравится
  • +98
  • Проголосовать: не нравится

Автор WorldWarV, история, 3 недели назад, По-английски

Hello, Codeforces!

I am very excited to invite you to participate in Codeforces Round 1122 (Div. 3), which will take place on Sep/21/2026 17:35 (Moscow time). You will be given $$$2$$$ hours and $$$30$$$ minutes to solve $$$7$$$ or $$$8$$$ problems. All problems were authored and prepared by me, WorldWarV.

The round will be hosted by rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of open hacks. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution but the usual penalty of $$$10$$$ minutes for each wrong submission, following the rules of educational rounds.

You should remember that only the trusted participants of the third division will be included in the official standings table. As it is written by link, this is a compulsory measure for combating unsporting behavior. To qualify as a trusted participant of the third division, you must:

  • take part in at least five rated rounds (and solve at least one problem in each of them)
  • do not have a rating of $$$1900$$$ or higher at any moment in time.

Regardless of whether you are a trusted participant of the third division or not, if your rating is less than $$$1600$$$, then the round will be rated for you (unless you register unrated).

Also, note the rule restricting the use of AI. If you are caught breaking this rule, you will be dropped into cry's basement, which happens to be a permanently active volcano.

I would like to thank the following people for making this round possible:

GLHF!

Update: Editorial!

Полный текст и комментарии »

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

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

Ever felt like Codeforces tags are too limited? Lynkforces (pronounced link-forces) lets you fly around a 3D map of problems and discover clusters by reasoning and technique. Click points to fly to problems, see related ones, adjust rating, and enter your handle to see solves!

Full link: lynkforces.vercel.app

What it is

  • Two maps:
  • Reasoning — clusters by similarity of how you think about the solution.
  • Tags — clusters by techniques/data structures (segment tree, DSU, XOR basis, etc.).
  • Color key: white = unsolved & not relevant (default), green = solved, purple = relevant (darker = more relevant), blue = solved + relevant (darker = more relevant).
  • Dataset note: coverage isn’t comprehensive; latest I saw while testing was about a year back (Round ~995-ish). 3D clustering isn’t perfect since high-dimensional vectors were compressed to 3D, so some related points may still be far apart.

Main map (Reasoning):

Main map (Reasoning)

Help / Controls:

Tags / Techniques map:

Techniques map

How to use it

  • Open lynkforces.vercel.app.
  • Pick Reasoning or Tags (top-left).
  • Use the search bar for ideas.
  • Slide the rating filter to your range.
  • Enter your CF handle to paint solves.
  • Click points to jump around and explore neighbors. Help lives in the bottom-left; 3D controls in the top-left.

Quick summary of how I built it

Tags are useful but broad, as two “graph” problems can demand very different thinking. I summarized editorials into skill vectors, core tasks, pure reasoning, and other fields (with llama because it’s good at taking pieces from the editorial, understanding it, and turning it into matchable text). Then I turned those into embeddings, normalized them, and projected to 3D with UMAP. Semantic search uses the same space, so queries light up neighborhoods that “think” alike.

Tips

  • Make queries descriptive. Instead of “lazy segment tree” (which can light up lots of generic segtree points), try “range add range max,” “range sum with updates,” or “range assign with queries.” Be smart with it!
  • You can paste a problem short ID or a problem link to jump directly.
  • Some problems are pretty clamped, so if you want to be more space-y, try 16–17× scaling.

Try it: Lynkforces. If something stalls or feels off, please let me know — this is my first deploy, and feedback helps a ton!

Also this totally wasn’t inspired by a way cooler project

Happy practicing!

Полный текст и комментарии »

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