Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6305 | 高振轩 | 函数求和 | C++ | Wrong Answer | 0 MS | 256 KB | 304 | 2025-02-09 11:02:19 |
#include<bits/stdc++.h> using namespace std; void s(int n){ int b=0; for(int i=1;i<=10;i++){ b=i+i-1; }cout<<b<<endl; b=0; for(int i=20;i<=30;i++){ b=i+i-1; }cout<<b<<endl; b=0; for(int i=35;i<=40;i++){ b=i+i-1; }cout<<b<<endl; } int main(){ int m; s(m); return 0; }
------Input------
0
------Answer-----
55 275 440
------Your output-----
19 59 79