wrong's blog

By wrong, 14 years ago, In English

A. Shortest path of the king

It's easy problem. But because I was afraid to get WA, I implemented this problem in BFS. So I wasted time :(


B. Lorry

Because of my poor English ability, I wasted time in this problem to read problem description and understand it. Though I understood the meaning of this problem, I was confused by bugs. And I wasted time again.


C. Tic-tac-toe

I implemented brute-force algorithm to enumerate all valid game board. And then I implemented check of whether a player of either has just won. Then, I submitted the code.

When I was waiting for judge, I noticed that I had completely forgotten the case of "draw". So I got 1 WA :(


D. Least Cost Bracket Sequence

I couldn't solve this problem at the contest, and I can't still solve this problem now.

  • Vote: I like it
  • 0
  • Vote: I do not like it