In my Visual studio pow() works correctly
but here even a trivial power won't work !
I tired to use such this in my code
"#include <math.h>"
int k=5 ;
power = pow(10.0 , k );"
I got wrong answer
but when I changed it to
"for(i=0 ; i < k ;i++)
power *= 10 ;"
it worked ! But how ? why?!
the url of the code I submitted: http://mirror.codeforces.com/contest/595/submission/14331963







