Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86634 吴梓玄 笨鸟先飞 Python3 Accepted 34 MS 3760 KB 174 2024-07-27 09:23:53

Tests(1/1):


Code:

a=int(input()) for i in range(a): b=int(input()) d=2*(b-1)+1 c=(d+1)**2//4 if c>=10000: x=c%10000 print(x) else: print(c)