潘柏皓 @ 2017-08-13 18:44:52
题解
#include<stdio.h>
int main()
{
int x,y,s=0;
scanf("%d",&x);
y=1;
while(x-y>=0)
{
s=s+(y*y);
x=x-y;
y++;
}
s=s+x*y;
printf("%d",s);
return 0;
}
by owogon @ 2017-08-13 18:47:50
tags:show-off
by 和泉正宗 @ 2017-08-13 19:42:04
@owogon 英语dalao %%%
by ironwheel @ 2017-08-17 11:07:14
%%%
by 鞲鞴 @ 2017-09-03 14:23:46
%%% 借楼发打表