Search found 1 match
- Mon Nov 03, 2014 12:30 pm
- Forum: Volume 121 (12100-12199)
- Topic: 12197 - Trick or Treat
- Replies: 1
- Views: 1883
Re: 12197 - Trick or Treat
Hi, I've tried to solve this problem both in Java and C++ by using ternary search. Even though I'm using the same strategy, Java's verdict is Time Limit Exceeded and C++'s verdict is Accepted . Looking at the problem statistics, it looks like the judge is giving Time Limit Exceeded to almost every ...