Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159426 张晓冉 函数求和 C++ Wrong Answer 1 MS 264 KB 288 2026-08-30 18:57:23

Tests(0/1):


Code:

#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; }


Run Info:

------Input------
0
------Answer-----
55 275 440
------Your output-----
55 165 440