Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
68425 sh25_ganzy 同余方程(Day 2) C++ 运行超时 1000 MS 240 KB 222 2025-10-02 09:31:32

Tests(0/10):


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


测评信息: