Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

Автор ruban, история, 4 часа назад, По-русски

Why does codeforces dislike real numbers so much? Obviously, problem 2020/E, like any other similar one, should be calculated in a real numbers. Well, or rational, but since the denominator is very large, we have to limit ourselves to real calculations. However, we should outut the answer in a very strange form. After all, nature deals with real numbers (length, mass), and not at all with discrete ones. We do not count the number of molecules of water in a cup; we will be completely satisfied with the answer accurate to the gram if we drink it ourselves, or up to one billionth of a gram, if we suddenly do a very precise physical experiment. So let's use quite natural real calculations in such probability problems. After all, we do not intersect circles in algebraic numbers, and we usually find even the point of intersection of straight lines in real, not rational form.

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

»
119 минут назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Автокомментарий: текст был обновлен пользователем ruban (предыдущая версия, новая версия, сравнить).