#15064: C++ 有福了


wish.rirf@gmail.com (C++ 與我)


#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
  unsigned int a,b;
  while(cin>>a>>b){
  cout << endl << std::__gcd(a,b);
}
  return 0;
}