Quote:
Originally Posted by pepi37
Can you make modification of this tool adding just one number
1 100 2 2 10
Last number means: print only K that have weight 10 or less.
|
Here comes the new version of MNash with the print filtering feature added.
Usage example:
Code:
MNash.exe -1 -100 2 2 800
The additional parameter (800) controls the printing, e.g. the result line will only be printed if at least one of the two weights is less or equal to the limiting parameter. The output of the above example is thus:
Code:
-11 2 795 791
-29 2 495 485
-37 2 630 629
-43 2 633 640
-59 2 639 642
-71 2 593 604
-73 2 800 818
If looking for high weight sequences just enter the limit with a negative sign, e.g.:
Code:
MNash.exe -1 -100 2 2 -3000
This will print only lines with weight >= 3000:
Code:
-45 2 3747 3767
-69 2 3438 3437
-75 2 3181 3184