Law of cosines - triples: Difference between revisions

Line 113:
 
=={{header|C}}==
=== A brute force algorithm, O(N^23) ===
<lang C>/*
* RossetaCode: Law of cosines - triples
Line 165:
</pre>
 
=== An algorithm with O(N^32) cost ===
<lang C>/*
* RossetaCode: Law of cosines - triples