Run ID:159426
提交时间:2026-08-30 18:57:23
#include<bits/stdc++.h> using namespace std; int main(){ int s = 0,z = 0,x = 0; for(int i = 1;i <= 10;i++){ s += i; } for(int i = 10;i <= 20;i++){ z += i; } for(int i = 35;i <= 45;i++){ x += i; } cout<<s<<endl<<z<<endl<<x<<endl; }