ankitesh's blog

By ankitesh, history, 22 months 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://codeforces.net/contest/1800/problem/A]

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

| Write comment?
»
22 months ago, # |
  Vote: I like it 0 Vote: I do not like it

»
22 months 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.

»
22 months ago, # |
  Vote: I like it -8 Vote: I do not like it

u poop