Run ID:87454
提交时间:2024-08-10 11:41:26
#include<bits/stdc++.h> using namespace std; int main(){ int n,s=1; for(int i=2;i<=n;i++){ if(i%2==0) s+=i; if(i%2==1) s-=i; } cout<<"hello,lema"; return 0; }