
-----------------------------------
Prototype
Tue Jan 15, 2008 7:08 pm

January Dwite : Question 1 Line 4
-----------------------------------
YOOoO liEK WTFLIP!?!

liek!!?!

how do i round number?

-----------------------------------
fantasy
Tue Jan 15, 2008 7:16 pm

Re: January Dwite : Question 1 Line 4
-----------------------------------
yea i think theres a problem with java's math.round

the only workaround i found was this [url=http://www.youtube.com/watch?v=eBGIQ7ZuuiU]video

-----------------------------------
Saad
Tue Jan 15, 2008 7:26 pm

RE:January Dwite : Question 1 Line 4
-----------------------------------
The problem was in errors from the calculations, more accurate would give a better result.

-----------------------------------
syntax_error
Tue Jan 15, 2008 7:37 pm

Re: January Dwite : Question 1 Line 4
-----------------------------------
dont use math.round

then ur limited by the factor you multiply by just printf

much better and fast i think (well not sure but the code itself but typing it ya it is xD)

-----------------------------------
HeavenAgain
Tue Jan 15, 2008 7:39 pm

RE:January Dwite : Question 1 Line 4
-----------------------------------
there is some problem with the question 1, i think it was the first input or something; 0 50
should output 0, which im sure quite a lot of us did... and got marked wrong :roll: strange

-----------------------------------
Dan
Tue Jan 15, 2008 8:10 pm

RE:January Dwite : Question 1 Line 4
-----------------------------------
The error is our fault not yours. The 4th test case for problem 1 should have been 221 and not 220. We apprently rounded down rather then up.

Also please note that the 2nd submmsion will not have the test cases in the same order so it could show up as any one of the four test cases.

I will make an offical news posting about this on the dwite site tomore.

-----------------------------------
Dan
Thu Jan 17, 2008 12:31 am

RE:January Dwite : Question 1 Line 4
-----------------------------------
This problem has been fixed (or at least i think it has). Check out the front page on dwite.org for the latest news about it. 

Also you might whont to check out the past contest page for this contest to see how it changed the scores.

Spolier: Not much :p
