Run ID:122969

提交时间:2025-06-22 12:25:05

#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=s+i; } else{ x=x+i; } } return 0; }