用for循环输入若干数值,不需要再写cin>>了!!
```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
int a,b,num,sum=0;
cin>>a>>b;
if(a>b){
swap(a,b);
}
for(num=a+1;num<b;num++){
if(num%2!=0){
sum+=num;
}
}
cout<<sum<<endl;
return 0;
}