Special pythagorean triplet: Difference between revisions

Line 105:
Took 77.664µs
</pre>
 
=={{header|jq}}==
{{works with|jq}}
'''Works with gojq, the Go implementation of jq'''
<lang jq>range(1;1000) as $a
| range($a+1;1000) as $b
| (1000 - $a - $b) as $c
| select($a*$a + $b*$b == $c*$c)
| {$a, $b, $c}</lang>
{{out}}
<pre>
{"a":200,"b":375,"c":425}
</pre>
 
 
=={{header|Julia}}==
2,485

edits