Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
70805 sh25_wangsj 余数相同问题 C++ 通过 0 MS 244 KB 187 2025-10-20 19:57:04

Tests(1/1):


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


测评信息: