Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
77564 sh25_zhangjiajia 满足条件的数累加 C++ Accepted 0 MS 244 KB 228 2025-12-26 14:27:28

Tests(1/1):


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


Judgement Protocol: