#第一题 import math n = input() n=int(n) x=(-1+(1+8*n)**0.5)/2 print(math.ceil(x))#向上取整
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务