ankitesh's blog

By ankitesh, history, 21 month(s) ago, In English

I don't know why is it showing runtime error if I import lcm from math module in Python. Please someone tell me what exactly the problem is! My code is correct and if I comment the importing part it gets accepted. Problem Link-[https://mirror.codeforces.com/contest/1800/problem/A]

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

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +1 Vote: I do not like it

Your code has been accepted in pypy 3.9.10 version because lcm function isn't included in pypy 3.6.9 version , so use the new pypy3 version instead.

»
21 month(s) ago, # |
  Vote: I like it -8 Vote: I do not like it

u poop