Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82400 sh25_shenpy 同余方程(Day 2) C++ 解答错误 613 MS 236 KB 213 2026-01-11 20:15:56

Tests(0/10):


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


测评信息: