|
|
| Show all threads Hide all threads Show all messages Hide all messages | | Problem statement clarification | 👨🏻💻 Spatarel Dan Constantin | 2165. Cake Cutter | 3 May 2026 07:52 | 1 | For each possible triangulation, compute the smallest area triangle in it. Print the largest smallest area triangle. If that does not make much sense, let's go over the sample input: The given quadrilateral can be triangulated in only two different ways. The areas of the resulting triangles are: Cut #1: 11.5 + 16.0 (min. area triangle = 11.5) Cut #2: 10.0 + 17.5 (min. area triangle = 10.0) answer = max(11.5, 10.0) = 11.5 Good luck! | | O(N^2 logN) Time | Mickkie | 2165. Cake Cutter | 13 Oct 2023 00:50 | 1 | | | Just disgusting problem statements wording | Vedernikoff 'Goryinyich' Sergey (HSE: АОП) | 2165. Cake Cutter | 16 Aug 2023 00:11 | 1 | I'm native Russian language speaker, but I really cannot understand what is required in the problem: "Поскольку Вадим не любит сладкое, в конце он выберет себе самый маленький по площади кусочек, однако он не хочет, чтобы кто-то это заметил. Для этого современному обер-форшнейдеру нужно подобрать такой способ элегантно разделить торт, чтобы часть, которая достанется ему, была наибольшего размера." He doesn't like sweets, so he takes part of minimal size, but he wants to maximize size at the same time. WTF, where is the logic here, what does author want from us - to find maximin over all cuts, or something else? |
|
|
|