HAMSTER1 — [ Ternary Search. Getting WA. Help Please ]

Правка en2, от ssavi, 2016-03-27 21:19:29

HI Great Helpers of CF!!!

I am getting WA for Several Times to solve this problem . Please help me out.

Problem Link : http://www.spoj.com/problems/HAMSTER1/en/

This is Ternary Search Problem . I got the Sample Test Correct . But I am failed to find out the Error . May be It could be a Error of my TS process .

Here is My Code : http://pastebin.ubuntu.com/15525055/

I got my Ternary Search Idea from this Blog : http://mirror.codeforces.com/blog/entry/11497

And I modified a little to get the answers for Floating point Values . It would be a great Help if someone help me out .

Thanks in Advance .

Теги hamster1, spoj, ternary search

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ssavi 2016-03-27 21:19:29 8
en1 Английский ssavi 2016-03-27 21:17:20 672 Initial revision (published)