Please read the new rule regarding the restriction on the use of AI tools. ×

king_of_tt's blog

By king_of_tt, history, 5 years ago, In Russian

Добрый день, codeforces!

Прошу подсказать, если есть натуральные числа a, b, c, d, как узнать, что больше $$$a ^ b$$$ или $$$c ^ d$$$?

UPD: Сравнивать через логарифмы умею, но хотелось бы избежать нецелых чисел, что бы была максимальная точность.

  • Vote: I like it
  • +12
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

how big is it?possible u can use strings and do binpow or use big_integer in java