Modify to use case statement
Modify to use more case statement
Solve Problem 80 in 0.063s

$ time ./problem_80
40886

real    0m0.063s
user    0m0.026s
sys     0m0.007s