McNuggets problem: Difference between revisions
m
→{{header|ALGOL 68}}: Use the simplification in the BASIC, Comal, Draco, Dyalect etc. samples where the loop counters do the additions
Not a robot (talk | contribs) (Add VTL-2) |
m (→{{header|ALGOL 68}}: Use the simplification in the BASIC, Comal, Draco, Dyalect etc. samples where the loop counters do the additions) |
||
Line 112:
FOR i FROM LWB sum TO UPB sum DO sum[ i ] := FALSE OD;
FOR x FROM 0 BY 6 TO max nuggets DO
FOR y FROM
FOR z FROM
OD # z #
OD # y #
|