Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
该网站可能在内部定义自己的
main()
,并使用它来测试您的提交。通常,这些算法问题网站不需要您实现测试您功能的代码。确实,指令只要求您实现计算
函数:That website likely defines its own
main()
internally and uses it to test your submission. Typically, these kinds of algorithm question websites don't require you to implement the code that tests your function. Indeed, the instructions only ask you to implement acompute
function: