Trouble finding the largest triangle number that is smaller than a given number

前端 未结 0 772
旧时难觅i
旧时难觅i 2020-12-13 03:43

Given a number N, I am trying to find the largest triangle number that is smaller or equal to N. A triangle is the sum of the first n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题