Monday, April 27, 2009

First AC-s

Welcome everyone!
I plan on posting here most of the ideas, approaches or hints to the problems that I will solve in near future on any online judge.

Here is the first and problem that I solved today:
1000. A+B Problem (acm.timus.ru).
Basically you have to find sum of two integers. Luckily those integers aren't negative, but unluckily they might not fit into 32-bit variables. So, you should recall your school method for adding two numbers or you can use java's nice BigInteger class(No cheating - I did the former:) .

1001. Reverse Root (acm.timus.ru).
Just do what the problem asks. Beware of the reverse order though...

No comments:

Post a Comment