Комментарии
На 36champ → Codeforces Round 1101 (Div. 2) — Editorial, 6 месяцев назад
+1

cake leveling solo leveling reference??

На simplelife → Codeforces Round 1089 (Div. 2) Editorial, 8 месяцев назад
+6

a moment of silence for anyone with gcdmode in their C2 solution...

На Hori → Codeforces Global Round 27 Editorial, 9 месяцев назад
0

Seems like E can be solved in O(sqrt(z)) time, here is the code for it: 366869087 As of writing this, it also has the best execution time

На MLA19 → Codeforces Round 1056 (Div. 2) Editorial, 14 месяцев назад
0

didn't participate in contest but interesting problems. a nice way to do O(k) implementation for problem E is to replace the set in the solution with a single integer variable which keeps track of the number of columns with odd tokens.

I may not be as expert as you want but here are my thoughts:

  • Solve some example test cases that you come up with yourself (use the given test cases to verify your ideas) and try to spot patterns. These may lead to an optimisation of a brute force approach or might even lead to the solution itself.
  • Try to see if you are doing repeated work. This might mean you could save some of that work in some way and reuse it.
  • Learn some optimisation techniques. USACO Guide is a great place to learn some of these, for problems up to 1800 rating you only need to do up to the silver section.

Hope this helped