Help with problem UVa 12945 — Farmer Jane
Hi... I am trying to solve this problem
I learned about Ternary Search and my code works for the test cases in the sample. Can anyone tell me some hint? this is my code Thanks in advance and sorry for my poor english