1. домик
screen 12
line (200,120)-(360,320),6,BF
line (240,160)-(320,240),11,BF
line (280,40)-(200,120),2
line (280,40)-(360,120),2
line (200,120)-(360,120),2
paint (280,80),2
2. елка
line (280,120)-(200,200),2
line (280,120)-(360,200),2
line (200,200)-(360,200),2
paint (280,160),2
line (280,200)-(200,280),2
line (280,200)-(360,280),2
line (200,280)-(360,2800),2
paint (280,240),2
line (240,281)-(320,320),6,BF
line (240,80)-(320,120),8
line (240,160)-(320,200),8
line (240,240)-(320,280),8
circle(260,90),15,1
circle(280,100),15,3
circle(300,110),15,4
circle(260,170),15,5
circle(280,180),15,9
circle(300,190),15,11
circle(260,250),15,12
circle(280,260),15,13
circle(300,270),15,14
67 (10cc) = 64+2+1 = 2^6+2^1+2^0 = 1 000 011 (2cc)
ИЛИ
67 |2
66 |
| 33 | 2
1 32 |
| 16 |2
1| 16 |
| 8| 2
0| 8|
---| 4|2
0| 4|
--|2|2
0|2|
--| 1 < первая цифра в числе и далее - остатки
0
49 (10cc)=32+16+1=2^5+2^4+2^0=110 001 (2cc)
54= 32+16+4+2= 2^5+2^4+2^2+2^1= 110 110 (2cc)
81=64+16+1=2^6+2^4+2^0=1 010 001 (2cc)
1. домик
screen 12
line (200,120)-(360,320),6,BF
line (240,160)-(320,240),11,BF
line (280,40)-(200,120),2
line (280,40)-(360,120),2
line (200,120)-(360,120),2
paint (280,80),2
2. елка
screen 12
line (280,40)-(200,120),2
line (280,40)-(360,120),2
line (200,120)-(360,120),2
paint (280,80),2
line (280,120)-(200,200),2
line (280,120)-(360,200),2
line (200,200)-(360,200),2
paint (280,160),2
line (280,200)-(200,280),2
line (280,200)-(360,280),2
line (200,280)-(360,2800),2
paint (280,240),2
line (240,281)-(320,320),6,BF
line (240,80)-(320,120),8
line (240,160)-(320,200),8
line (240,240)-(320,280),8
circle(260,90),15,1
circle(280,100),15,3
circle(300,110),15,4
circle(260,170),15,5
circle(280,180),15,9
circle(300,190),15,11
circle(260,250),15,12
circle(280,260),15,13
circle(300,270),15,14