Powered by Starship v1.3

Tag: atcoder

main page
Atcoder Beginner 382
Nov 30 2024
8:47 AM

It's been a decent while since I did one of these. Speed still seems to be ok.

Solves:

  • A @ 1 minute 6 sec. Very standard

  • B @ 4 minute 4 sec. Also standard

  • C @ 9 minute 10 sec. Wrote some montonic array & binary search

  • D @ 14 minute 49 sec. DFS-like ordered sequence builder

  • F @ 52 minute 12 sec. RMQ + range set segtree on sorted list

tags: programming atcoder contest-logs

Non-linear problem difficulty
Oct 27 2024
2:54 PM

"This ARC also serves as a qualification round to select the 18 contestants for the Japanese national finals, making it significantly more difficult than a regular ARC. Due to circumstances, we replaced the tasks and changed the point values. Since there are no easy tasks, the difficulty level of solving one or more tasks has increased. Please be careful. Since the difficulty level is flat, we recommend reading all the tasks and not necessarily solving them in order."

pov i forget to read this and consequently spend the entire contest on A (and fail to solve)

...

read more

tags: programming atcoder

fun trie problem
Oct 26 2024
10:27 AM

This problem is from today's atcoder beginner contest

You are given a list A of lowercase English strings.
For each string S in A, solve the following problem:

You can perform two operations to S:

- Delete the last character of S (if it is non-empty)
- Add any lowercase character to the end of S

Find the minimum number of operations to convert S into either the empty string or a string that comes before it in A.

This kind of screams trie...

read more

tags: programming atcoder contest-logs

ARC is scary
Oct 13 2024
1:44 PM

Took Atcoder Regular Contest 185 this morning. I had done one ARC virtual in the past, but that one had relatively more 'normal' questions than today's contest. I think it went alright? I don't really have a sense of scale with ARC yet.

...

read more

tags: programming atcoder contest-logs

Atcoder Beginner Contest 375
Oct 12 2024
10:06 AM

I should put more effort into these surely...

read more

tags: programming atcoder contest-logs

Atcoder Beginner Contest 374
Oct 5 2024
10:27 AM

Woke up 10 min before contest, slow start but wow.. good contest I think

...

read more

tags: programming atcoder contest-logs

le brick
Oct 1 2024
10:54 PM

vced ARC 058 w/ jasonwei

C was theoretically easy, construct from smallest digit, etc. but I messed up overflow case [twice] and that whole mess took like 30m total

D was fun combo, pathfinding nonsense that partition & track crossings kind of deleted

E was some DP that I failed, also managed to forget that complementary counting existed.. smh

didn't have anything substantial on F besides "knapsack" so ya

mid contest, definitely need to work on dp

tags: programming atcoder contest-logs

Atcoder Beginner Contest 373
Sep 28 2024
10:35 AM
  • A: trivial

  • B: invert array, trivial

  • C: trivial

  • D: pretty cool, restructure directed graph as an undirected graph w/ directed weight, DFS

  • E: possibly some sort of ranging and binary search, couldn't work out implementation

  • F: tried to run the knapsack dp as normal but store a best_cost[] alongside, and attempted to use some quasi-convexity and 2p to speed up choice but this did not work (AC x53, WA x5)

  • G: impossible wtf jasonwei orz

terrible perf lol. should I take the upcoming AGC? idk.

tags: programming atcoder contest-logs

Atcoder Beginner Contest 370 (and weird binary search?)
Sep 7 2024
10:48 AM

Decent contest. Started 6 min late bc I lost track of time while debugging some cses problem :/ but it was fine..

ABC were basically trivial, C had a pretty simple pattern (provable by optimal-choice argument) which I got relatively quickly. D was an adventure, though.

Task essentially asks us to determine in a 2d bitfield the...

read more

tags: programming atcoder contest-logs

d1 fumbler (me)
Aug 31 2024
11:39 AM

I did the ABC today: https://atcoder.jp/contests/abc369

The fumbling started on problem A, where I misread the input format and consequently got 2 WA (don't worry why this caused 2 WA and not 1). Then I did a dumb thing...

read more

tags: programming atcoder contest-logs