Solutions to competitive programming tasks at http://acm.timus.ru
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).