Run ID:7967
提交时间:2025-05-31 19:55:15
#include<iostream> using namespace std; int main(){ int a,b,c,x=2; cin>>a>>b>>c; while(1){ if(a%x==b%x && a%x==c%x){ cout<<x; break; } x++; } return 0; }