Find square difference: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 269: | Line 269: | ||
<pre>501</pre> |
<pre>501</pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Delphi}}== |
=={{header|Delphi}}== |
||
{{works with|Delphi|6.0}} |
{{works with|Delphi|6.0}} |
||
{{libheader|SysUtils,StdCtrls}} |
{{libheader|SysUtils,StdCtrls}} |
||
<syntaxhighlight lang="Delphi"> |
<syntaxhighlight lang="Delphi"> |
||
Line 320: | Line 299: | ||
Smallest Difference N^2: < 32000 is: 16001 |
Smallest Difference N^2: < 32000 is: 16001 |
||
Smallest Difference N^2: < 2000000000 is: 1000000001 |
Smallest Difference N^2: < 2000000000 is: 1000000001 |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
</pre> |
</pre> |
||