Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
2319 阿** 国王的金币 Python3 Wrong Answer 30 MS 3380 KB 144 2023-12-08 11:46:03

Tests(0/5):


m=int(input()) s=0 n=0 while int(n*(1+n)/2)<m: n+=1 for i in range(1,n+1): if i!=n: s=s+i**2 else: print(s)


Judgement Protocol: