acm初级题,帮帮看,看不懂YuYu has been known the square number is an integer that is the square of an another integer,so she likes to count them from one,then four,and so on.Now she wants to know the sum from the nth to mth square numbers.Can

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/29 01:57:21
acm初级题,帮帮看,看不懂YuYuhasbeenknownthesquarenumberisanintegerthatisthesquareofananotherinteger,soshelikes

acm初级题,帮帮看,看不懂YuYu has been known the square number is an integer that is the square of an another integer,so she likes to count them from one,then four,and so on.Now she wants to know the sum from the nth to mth square numbers.Can
acm初级题,帮帮看,看不懂
YuYu has been known the square number is an integer that is the square of an another integer,so she likes to count them from one,then four,and so on.
Now she wants to know the sum from the nth to mth square numbers.
Can you tell her?
输入
The input contains two integers n and m (1

acm初级题,帮帮看,看不懂YuYu has been known the square number is an integer that is the square of an another integer,so she likes to count them from one,then four,and so on.Now she wants to know the sum from the nth to mth square numbers.Can
好吧, 我帮你翻译一下吧.
"宇宇已经知道平方数是由另一个整数平方构成的整数, 因此她喜欢从一, 四...这样开始数平方数, 现在她想知道从第n个到第m个平方数的总和, 你能否告诉她结果?"
"输入"
"输入包含两个整数n和m(1