Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:57: error: too many arguments to function 'int main()'
16 | ans=main(tot,ans);
| ~~~~^~~~~~~~~
/in/foo.cc:4:5: note: declared here
4 | int main()
| ^~~~
/in/foo.cc:15:53: warning: unused variable 'cost' [-Wunused-variable]
15 | int cost=s*i+m*j+l*k;
| ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P3004 购买鸡蛋
- 语言
- C++
- 递交时间
- 2026-02-08 09:11:52
- 评测时间
- 2026-02-08 09:11:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes