Getting W.A because of small difference in decimal places

Правка en3, от kush8singh, 2017-06-22 21:52:05

THE QUESTION (not really required)

http://www.spoj.com/problems/BLMIRINA/1

MY ANSWER****

http://ideone.com/SbYs7J

PROBLEM****

the answer should be 6 decimal places , for the TEST CASE

1

179 56 56

ACCEPTED ANSWER = 147.084601 102.015294

MY ANSWER = 147.084593 102.015289

As you see , it is only a minute difference and depends on technique used for solving a problem...any suggestions to get around it .

Теги #c++

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский kush8singh 2017-06-22 21:52:05 67 Tiny change: 'EM******\n[cut]\nthe answ' -> 'EM******\n``\nthe answ'
en2 Английский kush8singh 2017-06-22 21:43:55 71
en1 Английский kush8singh 2017-06-22 21:38:41 464 Initial revision (published)