function ppr(form) {
abc=eval(form.abc.value);
if (abc<2 || abc%2!=0) {form.result.value="Enter positive even integer.";}
else {
var newvv="";
var i=1;
var k=0
while (i<abc/(2+Math.sqrt(2))) {
if (Math.ceil((abc*abc-2*abc*i)/(2*abc-2*i))-Math.floor((abc*abc-2*abc*i)/(2*abc-2*i))==0) {aa=i+" ";bb=(abc*abc-2*abc*i)/(2*abc-2*i)+" ";cc=Math.sqrt(aa*aa+bb*bb)+"\n";k=k+1;}
else {aa="";bb="";cc="";k=k;}
newvv=newvv+aa+bb+cc;
i=i+1;
k=k;}
}
if (newvv!="") {
if (k==1) {sss="";}
if (k>1) {sss="s";}
form.result.value=k+" triple"+sss+": \n"+newvv;}
putting ^ through a beautifier gave only 52 warnings XD
const isInt = (n) => n === Math.floor(n);
const pythag = (perimiter) => {
if(perimiter < 2)
throw new Error(`${perimiter} needs to be >= 2.`);
if(perimiter % 2 !== 0)
throw new Error(`${perimiter} needs to be even.`);
let i = 1;
let k = 0;
let triples = [];
while(i < perimiter / (2 + Math.sqrt(2))){
let N = perimiter * (perimiter - 2 * i);
let D = 2 * (perimiter - i);
if(isInt(N / D)){
let a = i;
let b = N / D;
supports code snippets with grave accent marks `` ` ``, italics with *single asterisks* and bold with **double asterisk**. And links with [link text](http://example.com).
and that's about it
And apparently there's a bug with enclosing code snippets in double-accents
Given an image of a goat, your program should best try to identify whether the goat is upside down, or not.
Examples
These are examples of what the input may be. Not actual inputs
Input:
Output:
Downgoat
Spec
Your program should be at most 30,000 bytes
The input will contain the full goa...
> Torvalds quipped about the name git (which means "unpleasant person" in British English slang): "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."[15][16] The man page describes Git as "the stupid content tracker".[17] The readme file of the source code elaborates further:[18]
@Midnightas it should only be able to wipe anything root has access to- and unless you dock your entire main hd into your vm/vbox it won't be able to rm -rf it
$ MathKernel
Mathematica 10.1.0 for Linux x86 (64-bit)
Copyright 1988-2015 Wolfram Research, Inc.
In[1]:= Short[1000!]
Out[1]//Short= 4023872600770937735437024339230039857<<2511>>00000000000000000000
@Rainbolt thanks. Detective Timmy D. figured that out in the meantime :D ... I wasn't aware that it was actually your own question. I thought it was just something you found on meta and linked to.