提交时间:2023-08-10 12:57:27
运行 ID: 24292
#include <iostream> using namespace std; int main() { int m, n, sum; sum = 0; cin >> m >> n; for (m; m <= n; m += 2) { sum += m; } cout << sum; return 0; }