| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83862 | 刘泽熙 | 函数求和 | C++ | Compile Error | 0 MS | 0 KB | 132 | 2024-07-15 09:43:01 |
#include<bits/stdc++.h> using namespace std; int main(){ int sum; cout<< sum(1,10); cout<<sum(20,30); cout<<sum(35,45); }
Main.cc: In function 'int main()':
Main.cc:5:17: error: 'sum' cannot be used as a function
cout<< sum(1,10);
^
Main.cc:6:17: error: 'sum' cannot be used as a function
cout<