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 1110. Power

Stupid mistakes;)
Posted by Katy 20 Jul 2006 18:25
First, I tried to solve this problem in a really algebraic way, so i added a line with "if(Y>M) Y%=M;". And this was wrong way.
After it, I had three or even more wrong answers becouse i hadn't one pair of brackets;-)
Sometimes stupid mistakes... Even if you understand mathematics;-)
Now i've got AC 0.078    230 KB