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 1049. Brave Balloonists

What is the test4
Posted by Веселый Mальчик 23 Jun 2011 02:12
I think my code faster
But only 4th test
Is it?
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000

And what will be correct answer this one?
Thanks
Re: What is the test4
Posted by lasha peradze Free University 26 Jan 2012 23:46
10000 = 10^4=2^4*5^4 so 10000^10=2^40*5*40  so answer is 41*41 % 10 = 1

and what's test n#2 ???