Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
23660 yihang 【入门】韩信点兵 C++ 解答错误 0 MS 240 KB 179 2023-07-16 14:41:52

Tests(3/20):


#include"bits/stdc++.h" using namespace std; int main(){ int n,m,x; cin>>n>>m>>x; for(int i=1;i<=1000;i++){ if(i%3==n&&i%5==m&&i%7==x){ cout<<i; return 0;}} }


测评信息: