CB002


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 512M

Problem type

CB002


Comments


  • -2
    10Tin_ngoc  commented on July 10, 2024, 11:17 a.m.

    include <bits/stdc++.h>

    using namespace std; long long n,m; int main() { cin>>n>>m; cout<<n*m/__gcd(n,m)<<endl; return 0; }