Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
70598 sh25_ganzy 余数相同问题 C++ 通过 0 MS 244 KB 190 2025-10-18 18:22:37

Tests(1/1):


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


测评信息: