Run ID:79041

提交时间:2024-06-29 19:27:36

#include<bits/stdc++.h> using namespace std; int main(){ long long a,b,c,x; cin >>a >>b >> c; while(a%x == b%x == c%x){ x++; } cout << x; return 0; }