Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 13th, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/perl
for ($c=1;$c<=1000;$c++) {
for ($a=1;$a**2<$c**2;$a++) {
$b=1000-$a-$c;
# print "$a $b $c\n";
if (($a**2 + $b**2)==$c**2) {
print ($a*$b*$c);
print "\n";
$c=1001;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
boyer moore algorithm c#
C# | 2 min ago | 3.71 KB
03. Hwei, The Visionary | Reproductor de Músi...
HTML | 3 min ago | 3.74 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 5 min ago | 0.38 KB
Funcion Menu
C++ | 29 min ago | 0.54 KB
TABLE `fractionvehicles`
MySQL | 53 min ago | 15.63 KB
Load CL.exe for Visual Studio Code
Winbatch | 1 hour ago | 0.90 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Untitled
C# | 1 hour ago | 4.76 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!