提交时间:2024-10-30 17:44:05

运行 ID: 54657

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