Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
68424 sh25_ganzy 同余方程(Day 2) C++ 解答错误 621 MS 244 KB 216 2025-10-02 09:29:47

Tests(0/10):


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


测评信息: