Search found 3 matches

by dypbrg
Sun Aug 24, 2014 2:35 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 49440

Re: 10034 - Freckles

ohh I see
if I change my code to this one:

Code: Select all

System.out.printf("%.2f",sum);
if(g<numCases-1)
    System.out.println("\n");
it still outputs wrong answer. see output here http://ideone.com/pT0plI
by dypbrg
Thu Aug 21, 2014 5:20 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 49440

Re: 10034 - Freckles

I already have this part of the code that does it.

Code: Select all

 
System.out.printf("%.2f",sum);
if(g<numCases-2)
    System.out.println("\n");
by dypbrg
Sun Aug 17, 2014 1:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 49440

Re: 10034 - Freckles

I have tried all the given input in this thread and my code outputs the correct answers. But when I submit it to the judge, I always get WA. I also already took note of the extra lines needed and that there shouldn't be any blank line after the last test case but i still get WA. What seems to be the ...

Go to advanced search