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.
-
I don't see major issue with your code
The only issue is you need to have an extra space after the case number
Instead of outputting *Case #1:2* you should output *Case #1:2 *
--
You received this message because you are subscribed to the Google Groups
"Google Code Jam" group.
To unsubscribe f
Hi everyone,
I am new to Google Kickstart and this is my first ever
attempt.
My java code gives the correct answer when runs locally,
but gives WA on the google platform.
This is my code
#include
#include
int digit(int A);
void main()
{
int q, c, i, size, T;
long p, N, A, B, x;
scanf("%d", &T);
for(q=0;qhttps://groups.google.com/d/msgid/google-code/9664b7f8-dcb0-487a-beee-3cb98da22300%40googlegroups.com.