Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
21147 xingru 满足条件的数累加 C++ 通过 0 MS 256 KB 166 2023-06-23 15:16:31

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int m,n,num=0; cin >> m >> n; while(m<=n){ if(m%17==0) num=m+num; m++; } cout << num; }


测评信息: