Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -12,8 +12,8 @@ BEGIN
|
|||
OD # y #
|
||||
OD # x # ;
|
||||
# show the highest number that cannot be formed #
|
||||
INT largest := -1;
|
||||
FOR i FROM UPB sum BY -1 TO LWB sum WHILE sum[ largest := i ] DO SKIP OD;
|
||||
INT largest := max nuggets;
|
||||
WHILE sum[ largest ] DO largest -:= 1 OD;
|
||||
print( ( "The largest non McNugget number is: "
|
||||
, whole( largest, 0 )
|
||||
, newline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue