Rosalind 不接受 "Variables and Some Arithmetic" 任务

Rosalind doesn't accept "Variables and Some Arithmetic" task

Link 问题http://rosalind.info/problems/ini2/

Given: Two positive integers a and b, each less than 1000.
Return: The integer corresponding to the square of the hypotenuse of the right triangle whose legs have lengths a and b

例如,对于a, b = 3,4 return 25

每次试验的数据集总是不同的。

a=859
b=938
print( a**2 + b**2 )

我已经在我的电脑上试过这段代码,它成功了。但罗莎琳德不会接受的。这段代码可能有什么问题?

它对我来说很好用。你可能

1) 前几次尝试失败后没有输入正确的输入变量。

2) 使用答案框 post 您的代码。

如果您在 http://rosalind.info/problems/ini2/ 中看到注释部分 您会注意到,每次单击“下载数据集”时都会提到数据集会发生变化。

此外,请记住提供的默认框仅供您输入答案,而不是代码本身。如果您还想上传代码,则需要使用注释部分第二点中指定的适当代码上传工具上传代码。