ankeshgupta007's blog

By ankeshgupta007, history, 5 years ago, In English


i am getting wrong answer on large subtask. i used similar concept as binary search and went on digging near to the root of the equation using property that f(x) has a root between a and b if f(a)*f(b)<0 . it works for sample cases also. code:

please help/share approach.

  • Vote: I like it
  • -6
  • Vote: I do not like it

5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by ankeshgupta007 (previous revision, new revision, compare).