MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
0

Hi , i am trying to solve such a problem as follows: say the base is 2(base 10) and exponent is 10(base 3) modulus is 10(base 10), then

there was a bug . Thanks .

flag
It's hard to answer this since you left half of the program away, for example the initialization of the variable result. – felix Mar 24 2011 at 8:44
sorry, corrected. – pranay Mar 24 2011 at 9:05

closed as off topic by Gjergji Zaimi, Charles Matthews, Zev Chonoles, Franz Lemmermeyer, Chandan Singh Dalawat Mar 24 2011 at 10:19

Browse other questions tagged or ask your own question.