From b54737ba049eaaf79f3e821ed029f9763cd82a71 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Wed, 9 Apr 2025 11:16:27 -0400 Subject: [PATCH] feat: contest today --- .../competitive-programming-log.html | 58 ++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/posts/algorithms/competitive-programming-log.html b/posts/algorithms/competitive-programming-log.html index 272f232..1c49df0 100644 --- a/posts/algorithms/competitive-programming-log.html +++ b/posts/algorithms/competitive-programming-log.html @@ -35,6 +35,60 @@

Competitive Programming Log

+

+ 849 (div. 4)—8/94/2025 +

+
+ Defeating. My speed is improving but I completely wasted my focus. + Div. 4 is too easy for me to take seriously now. This itself, + though, is a problem with discipline. +
+
+ I only practice for 2 hours a day. There's no point in practicing + problems and not trying—just go do something else. +
+
    +
  1. A = B = trivial
  2. +
  3. + C: lost focus on what was being asked, returning the number of + removals rather than the minimal length of the string. I want to + write code that works first try—validate your code is actually doing what you're saying before + running, both conceptually and in the fine-grained details. I move too fast. Still, I justified \(l\lt r\) instead of + \(l\leq r\), a small improvement. +
  4. +
  5. + D: Instantly saw the solution but rushed the implementation. + Eventually I slowed down and then considered the valid split + indices. + Consider edge cases first. Go through one iteration in your + head before coding. +
  6. +
  7. + E: Utter disaster. + Did not read the problem statement and answered a similar (but + very different) problem I'd done in the past. By the time I saw this after impatiently submitting ~5 WA, I + had lost mental focus. Never submit and hope for a correct answer—know it. +
  8. +
  9. + F: Then, I let my previous failure carry through to the next + problem. This happened in my last contest but I also dealt with it + well: +
  10. +
    + When you're done with a problem (in contest), whether because you + solved it or simply gave up, forget about it. Don't obsess about a + better solution or put yourself down. Ceaselessly move forward + with confidence at all times. +
    +

1016 (div. 3)upsolving is goated. + performance. These are the consequences—upsolving is goated.