Search found 2 matches

by xenocratus
Sat Dec 15, 2012 4:49 pm
Forum: Volume 112 (11200-11299)
Topic: 11262 - Weird Fence
Replies: 16
Views: 7457

Re: 11262 - Weird Fence

I changed the distance calculation part to a binary search but still WA. I'm more concerned about my approach in checking if a chain length of "mid" would yield a good result (number of possible simultaneous fences >= k); i'm trying to eliminate the pole which has the most ways of combining with ano...
by xenocratus
Sat Dec 15, 2012 2:39 am
Forum: Volume 112 (11200-11299)
Topic: 11262 - Weird Fence
Replies: 16
Views: 7457

Re: 11262 - Weird Fence

Hello, I have tried in a number of ways to solve this problem [improving each algorithm to the cases it didn't cover before], but i came to a stand-still; can't find what's not quite right with it. can anyone help or provide a failing test for me, please? :oops: #include <iostream> #include <fstream...

Go to advanced search