Java and real numbers
Posted: Fri Jun 07, 2013 2:40 pm
Scanners throws Runtime error when reading real numbers either with nextFloat, or nextDouble.
also System.out.printf and DecimalFormat get wrong answer when printing a real number up to the n'th decimal place.
previously accepted problems get runtime error for this reason even when the code is EXACTLY the same.
problems with real numbers involved are yielding wrong judgments for java users.
don't know how severe is the situation but its certainly unfair for java users.
also System.out.printf and DecimalFormat get wrong answer when printing a real number up to the n'th decimal place.
previously accepted problems get runtime error for this reason even when the code is EXACTLY the same.
problems with real numbers involved are yielding wrong judgments for java users.
don't know how severe is the situation but its certainly unfair for java users.