ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1029. Ministry

if you have WA#5 try to use long arithmetics
Posted by KALO 4 Jul 2009 19:06
Re: if you have WA#5 try to use long arithmetics
Posted by Nick Loginov (USU) 12 Jul 2009 16:49
There is no reason to use long arithmetic.. Read the hint.
Though may be you store something amazing to solve the task in more effecient way...
In any case, the problem is solvable without long arithmetic
Re: if you have WA#5 try to use long arithmetics
Posted by [LG]_#\#@P$T[101]R 12 Jul 2009 18:03
paying no more than 10^9
Re: if you have WA#5 try to use long arithmetics
Posted by >>> 24 Oct 2021 22:31
WTF REALLY IT HELPS ME!!! THANKS YOU. Я ТУПО СИДЕЛ И НИЧЕГО НЕ ПОНИМАЛ ПОЧЕМУ НЕ РАБОТАЕТ, ЛОНГИ ПОМОГЛИ!! только я не понял почему вообще инт не залетел)