提交时间:2025-12-26 14:27:13
运行 ID: 77562
#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%2==1) { tot+=i; } } cout <<tot<<endl; return 0; }