Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7314 - ХБЕХ

Өгөгдсөн хоёр натурал тооны хамгийн бага ерөнхий хуваагдагчийг ол.

Input

Нэг мөрөнд хоёр натурал тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

ХБЕХ

Example

Input:
9 15

Output:
45

Нэмсэн:Bataa
Огноо:2013-01-11
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-03-02 13:44:05
bi chamd sain
2024-03-02 13:43:29
I LOVE YOU
2024-03-02 13:42:59
bi chamd hairtai :)
2024-01-19 07:30:12
#include<bits/stdc++.h>
using namespace std;
main()
{
int a,m,b,c,i,ma,mi;
cin>>a>>b;
ma=max(a,b); mi=min(a,b);
i=1; m=ma;
while(m%mi!=0) {i++; m=ma*i;}
cout<<m;
}
2024-01-09 09:59:15
https://www.pinterest.com/pin/200269514653990618/
2023-12-24 10:04:45
import java.util.Scanner;

public class Think {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
int i = 1;
int result = 0;
int s = 1;
while (i <= a) {
i++;
if (a % i == 0 && b % i == 0) {
result = b * i;

}
}
System.out.println(result);
}
} dans:5810171730
2023-09-22 03:21:22
uliralaa bod
2023-08-22 04:26:46
#include <bits/stdc++.h>
int a, b, i, c;
int main()
{
scanf("%d %d", &a, &b);
if (a>b) {
i=a ;
while (i>-12312412) {
if (i%a==0 && i%b==0) break ;
i++ ;
}
}
else {
i=b ;
while (i>-124432432) {
if (i%a==0 && i%b==0) break ;
i++ ;
}

}
printf("%d", i);
return 0;
}
2023-05-23 02:48:12
⠀ ⠀ (\__/)
(•ㅅ•) Don’t talk to
_ノヽ ノ\_ me or my son
`/ `/ ⌒Y⌒ Y ヽ ever again.
(  (三ヽ人  /  |
| ノ⌒\  ̄ ̄ヽ ノ
ヽ___>、__/
|( 王 ノ〈 (\__/)
/ミ`ー―彡\ (•ㅅ•)
/ ╰ ╯ \ / \>

Last edit: 2023-05-23 02:48:39
2023-05-22 04:53:16
















































































































































































































































































































































































































































































































































































































































© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.