I am starting to do Project Euler problems again!
This time I will try harder and I will do them in C.
C is just more fun than Java, and easier to remember.
The first two I did in paper, fixed details when debugging.
The third I did only in my mind, while trying to sleep.
Also fixed details when debugging (%lld, long long).