0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 20:16:27 +00:00
OI-codes/AcWing/808/808.cpp

18 lines
237 B
C++
Raw Normal View History

#include <iostream>
2022-06-01 01:45:41 +00:00
#include <algorithm>
using std::cin;
using std::cout;
const char endl = '\n';
int a, b;
int main() {
std::ios::sync_with_stdio(false);
cin >> a >> b;
cout << std::__gcd(a, b) << endl;
return 0;
}