Amb: Difference between revisions
Content added Content deleted
(→{{header|J}}: re-implement task) |
m (→{{header|J}}) |
||
Line 1,898: | Line 1,898: | ||
=={{header|J}}== |
=={{header|J}}== |
||
Here, we interpret the specification such that ambassert picks an arbitrary valid example. In other words, it discards all unnecessary ambiguity (it arbitrarily picks a "single future" from among the valid "potential futures"). |
Here, we interpret the specification such that <code>ambassert</code> picks an arbitrary valid example. In other words, it discards all unnecessary ambiguity (it arbitrarily picks a "single future" from among the valid "potential futures"). |
||
Since this task specifies an O(n^m) complexity problem, we'll also assume that the user knows to limit its use to small examples. |
Since this task specifies an <b>O(n^m)</b> complexity problem, we'll also assume that the user knows to limit its use to small examples. |
||
Implementation: |
Implementation: |