Problem ID:
kntt10_126_vd1
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
512M
Input:
stdin
Output:
stdout
Suggester:
Problem type
Allowed languages
C, C++, Java, Pascal, Perl, Python
Viết chương trình nhập hai số tự nhiên từ bàn phím, cách nhau bởi dấu cách và đưa ra kết quả là UCLN của hai số này.
Input
Xâu ~S~ chứa hai số tự nhiên.
Output
UCLN của hai số.
Sample input
12 8
Sample output
4
Comments