Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
71664 sh25_ganzy 不定方程求解 C++ 通过 0 MS 236 KB 228 2025-10-26 19:00:38

Tests(1/1):


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


测评信息: