Solve hanging lantern problem: Difference between revisions
Content added Content deleted
Line 68: | Line 68: | ||
350 SP=SP+1 |
350 SP=SP+1 |
||
360 GOSUB 300 |
360 GOSUB 300 |
||
370 |
370 SP=SP-1 |
||
370 R(SP)=R(SP)+R(SP+1) |
|||
390 NL(I(SP))=NL(I(SP))+1 |
390 NL(I(SP))=NL(I(SP))+1 |
||
400 I(SP)=I(SP)+1 |
400 I(SP)=I(SP)+1 |