Run ID:122967

提交时间:2025-06-22 12:23:58

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; for(int i=a,s=0,x=0;i<=b;i++){ if(i%2==0){ s+=i; } else{ x+=i; } } return 0; }