Re: [gcj] Wrong Answer with Problem- The Trip

2011-10-11 Thread Leandro Coutinho
How to submit code to that shit site? This Java code seems to work, but I don't know how to submit there: package org.onlinejudge.uva; import java.io.File; import java.io.PrintWriter; import java.util.Scanner; public class ATheTrip { static Scanner in; static PrintWriter out; public

Re: [gcj] Wrong Answer with Problem- The Trip

2011-10-10 Thread Luke Pebody
If the number of pennies you are outputting is an exact multiple of 10, the final 0 will be omitted. See http://ideone.com/ztFjS On Mon, Oct 10, 2011 at 1:07 PM, yedtoss wrote: > Hi everybody. I am trying to solve the problem id 10137 on UVA online: > > http://uva.onlinejudge.org/index.php?option

[gcj] Wrong Answer with Problem- The Trip

2011-10-10 Thread yedtoss
Hi everybody. I am trying to solve the problem id 10137 on UVA online: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=29&page=show_problem&problem=1078 It is asked to give the amount of money exchanged so that every student has the same money (within a cent: 0.01)