| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134494 | 黄芃硕 | 函数求和 | C++ | Wrong Answer | 1 MS | 260 KB | 239 | 2025-10-27 18:23:15 |
#include<iostream> #include<cstring> using namespace std; int a[1050][1050]; int qh(int a,int b) { int s=0; for(int i=a;i<=b;i++) { s+=i; } return s; } int main() { cout<<qh(10,20)+(20,30)+(35,45); return 0; }
------Input------
0
------Answer-----
55 275 440
------Your output-----
240