Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/McNuggets-problem/BASIC/mcnuggets-problem.basic
Normal file
9
Task/McNuggets-problem/BASIC/mcnuggets-problem.basic
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
10 DEFINT A-Z: DIM F(100)
|
||||
20 FOR A=0 TO 100 STEP 6
|
||||
30 FOR B=A TO 100 STEP 9
|
||||
40 FOR C=B TO 100 STEP 20
|
||||
50 F(C)=-1
|
||||
60 NEXT C,B,A
|
||||
70 FOR A=100 TO 0 STEP -1
|
||||
80 IF NOT F(A) THEN PRINT A: END
|
||||
90 NEXT A
|
||||
Loading…
Add table
Add a link
Reference in a new issue