i tried to learn this technique from this blog.. but i couldn't understand it clearly from this mentioned site..so need some good blogs on this! you may also add related problems...

thanks in advance!

# | User | Rating |
---|---|---|

1 | tourist | 3372 |

2 | mnbvmar | 3345 |

3 | OO0OOO00O0OOO0O0…O | 3264 |

4 | Radewoosh | 3230 |

5 | scott_wu | 3189 |

6 | Benq | 3187 |

7 | LHiC | 3171 |

8 | Um_nik | 3155 |

9 | V--o_o--V | 3152 |

10 | Petr | 3139 |

# | User | Contrib. |
---|---|---|

1 | Radewoosh | 191 |

2 | Errichto | 172 |

3 | rng_58 | 158 |

4 | neal | 156 |

5 | Um_nik | 155 |

6 | tourist | 154 |

7 | Petr | 152 |

7 | Ashishgup | 152 |

9 | 300iq | 150 |

9 | PikMike | 150 |

i tried to learn this technique from this blog.. but i couldn't understand it clearly from this mentioned site..so need some good blogs on this! you may also add related problems...

thanks in advance!

↑

↓

Codeforces (c) Copyright 2010-2018 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Nov/20/2018 21:55:08 (d1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|

Before you conduct any further research, I have to warn you that the technique was proven wrong in finding the largest triangle in a convex https://codeforces.com/blog/entry/52341.

thanks for your kind information :)

Maybe is wrong for that problem but is useful and proven truth for other problems, like fartest pair of points on a cloud, polygon width, minkowski sum of polygons, convex hull of two convex polygons, etc.

All this problems turn to be linear with this technique.

I recently solved a problem of fartest pair of point under other metric using rotating calipers

But is good to know problems that cannot be solved that way. Thanks

your(cbosh-calrgauss) mentioned problems can't be solved without this way?? i meant alternate solutions except this technique??

Yeah, result that mostly of that problems can be done in

O(NlgN) orO(Nlg^{2}(N)) time, but with rotating calipers you can archive O(N) time, assuming convex hull is done.It seems not to useful but others solutions depens on binary searches and others things that make the code difficult to implement and rotating calipers take short coding.

yup..got it! thanks frnd!