1824: 【CSP循环】完全平方数▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

一个非负整数 lns="http://www.w3.org/1998/Math/MathML">n ,加上 lns="http://www.w3.org/1998/Math/MathML">100 是得到的 lns="http://www.w3.org/1998/Math/MathML">n+100 是一个完全平方数,在加 lns="http://www.w3.org/1998/Math/MathML">100 的基础上再加上 lns="http://www.w3.org/1998/Math/MathML">168 得到的 lns="http://www.w3.org/1998/Math/MathML">n+100+168 又是一个完全平方数,请问该数最小是多少?

Output

符合条件的最小的数