I was in a programming competition today.
Three hours.
Five problem sets.
I got the first three, super easy.
I probably could've figured out the fourth one, but I guess I spent too much time trying at the fifth one.
Like, holy shit.
PROBLEM:
Chessboard.
Two points.
Find how many moves it would take for a knight to get from one to the other.
Note: Knight cannot leave the 8 x 8 board.
After piles of nested for loops and if statements, I gave up because shit was too hard.
Three hours.
Five problem sets.
I got the first three, super easy.
I probably could've figured out the fourth one, but I guess I spent too much time trying at the fifth one.
Like, holy shit.
PROBLEM:
Chessboard.
Two points.
Find how many moves it would take for a knight to get from one to the other.
Note: Knight cannot leave the 8 x 8 board.
After piles of nested for loops and if statements, I gave up because shit was too hard.









