Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Блог пользователя alexlikemath007

Автор alexlikemath007, 15 месяцев назад, По-английски

Warning: This problem is like the warden of competitive programming. It is a force of nature — like a hurricane, and when you see a hurricane you don't fight it, you run. It is a big bad boss with a bunch of hitpoints, and deals big damage to your sanity. But when you kill it, it doesn't drop much loot, experience, or educational value compared to other problems. It would be wiser to go and solve some problems and learn how to use binary search.

The problem: https://codeforces.com/gym/102452/problem/F

It's tutorial says: Since n is small, $$$O(n^2)$$$ simulation is OK. Advanced 3-D geometry methods are highly required.

The tutorial doesn't describe what the advanced 3-D geometry methods are. So, I have written this blog to remedy that gap.

Chapter 1. Prologue
Chapter 2. Math StackExchange
Chapter 3. Wikipedia
Chapter 4. Finally an easy case
Chapter 5. Real-world applications of Calculus: Traumatized Edition
Chapter 6. Deja vu
Chapter 7. Deja vu vu
Chapter 8. What is a Euler Angle?
Chapter 9. Put it together
Chapter 10. Edge cases/Debugging
Chapter 11. Optimization
  • Проголосовать: нравится
  • +434
  • Проголосовать: не нравится

»
15 месяцев назад, # |
  Проголосовать: нравится +42 Проголосовать: не нравится

The warning at the beginning was so funny! I thoroughly enjoyed reading this blog, I believe that it really shows one of the craziest geometry problem to exist on this platform! Upvoted! Please continue to make blogs on crazy problems like these

»
15 месяцев назад, # |
Rev. 3   Проголосовать: нравится +82 Проголосовать: не нравится

I have already forwarded your blog to the problem setter; he seems very surprised now (

The warning in the beginning is interesting. But after this blog, I might need to find another problem to scare people (((

UPD: I have attached your blog into the Gym contest page.

»
12 месяцев назад, # |
Rev. 4   Проголосовать: нравится +5 Проголосовать: не нравится

Sorry for bumping this up.
Not a big issue, but it seems like your submission produces a different result against judge's solution on the below testcase.

1
3
1 0 0 0 -1 3 1
0 1 1 0 160 300 9560
0 1 1 0 160 300 9560

Still thanks for the tutorial.
It helps pretty much.