Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
59456 | 王一涵(吃土豆长大的马铃薯) | 满足条件的数累加 | C++ | Compile Error | 0 MS | 0 KB | 183 | 2024-12-26 16:41:00 |
#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; } 测评信息: