LoginSignup
0
0

More than 1 year has passed since last update.

ABC148 C - Snack を解いた

Posted at

abc148_1.png
abc148_2.png

最小公倍数ってどうやって求めるんだったか、調べた

以下で通った。

abc148c.py
a,b = map(int,input().split())
from math import gcd

print( (a*b)//gcd(a,b) )
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0