A few comment:

1. Your solution would not work for hidden test because the input does not 
fit into 32-bit integer. You need to read the input as string or char[]
2. pow(10,i) returns result in floating points, which is not ideal because 
it could potentially lose precision for large integers.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/d1ca85a6-084f-4429-a41b-18da02ee45e4%40googlegroups.com.

Reply via email to