In my case, the epsilon is 1e-7, but 0.0009 is way too big. I would never use any epsilon larger than 1e-6.
The thing is that this is the smallest epsilon I can use without timeouting, I wonder if people that solved it using the nested ternary search approach did something better in complexity ...
Search found 18 matches
- Tue Aug 07, 2007 8:29 am
- Forum: Volume 112 (11200-11299)
- Topic: 11257 - New Marketing Plan
- Replies: 23
- Views: 10502
- Mon Aug 06, 2007 11:56 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11257 - New Marketing Plan
- Replies: 23
- Views: 10502
- Fri Oct 20, 2006 10:25 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10167 - Birthday Cake
- Replies: 16
- Views: 9333
- Fri Oct 20, 2006 9:21 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10167 - Birthday Cake
- Replies: 16
- Views: 9333
- Fri Oct 20, 2006 4:37 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10167 - Birthday Cake
- Replies: 16
- Views: 9333
- Fri Oct 20, 2006 3:02 pm
- Forum: Algorithms
- Topic: MinCost MaxFlow code
- Replies: 20
- Views: 18679
- Thu Oct 19, 2006 11:07 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10167 - Birthday Cake
- Replies: 16
- Views: 9333
- Mon Oct 16, 2006 1:08 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11125 - Arrange Some Marbles
- Replies: 20
- Views: 18194
- Mon Oct 16, 2006 12:54 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11122 - Tri Tri
- Replies: 29
- Views: 12305
- Mon Oct 16, 2006 12:49 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11125 - Arrange Some Marbles
- Replies: 20
- Views: 18194
- Mon Oct 16, 2006 9:11 am
- Forum: Volume 111 (11100-11199)
- Topic: 11122 - Tri Tri
- Replies: 29
- Views: 12305
- Mon Oct 16, 2006 6:54 am
- Forum: Volume 111 (11100-11199)
- Topic: 11125 - Arrange Some Marbles
- Replies: 20
- Views: 18194
- Mon Oct 16, 2006 6:44 am
- Forum: Volume 111 (11100-11199)
- Topic: 11122 - Tri Tri
- Replies: 29
- Views: 12305
Re: 11122 - Tri Tri
I'm a bit confused about this problem, does interior point means a lattice point or just an a common area? I assume the first, so shouldn't this testcase output no (I see that you output yes for it)?
0 0 1 0 1 1
0 0 1 0 1 1
0 0 1 0 1 1
0 0 1 0 1 1
- Sun Sep 17, 2006 11:19 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11090 - Going in Cycle!!
- Replies: 23
- Views: 16202
- Sat Sep 16, 2006 3:26 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11090 - Going in Cycle!!
- Replies: 23
- Views: 16202