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

cohadar's blog

By cohadar, history, 13 months ago, In Russian

Problem D in recent div3 contest uses lcm function.

This function exists in math library in python 3.9 but NOT in codeforces python 3.8

It is of course easy to define it with gcd function: lcm(a, b) == a * b // gcd(a, b)

  • Vote: I like it
  • -11
  • Vote: I do not like it