Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82401 sh25_shenpy 同余方程(Day 2) C++ 运行超时 1000 MS 240 KB 225 2026-01-11 20:16:28

Tests(0/10):


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


测评信息: