Difference between revisions of "2001 PMWC Problems"
(→Problem I3) |
(→Problem T3) |
||
Line 113: | Line 113: | ||
== Problem T3 == | == Problem T3 == | ||
+ | <asy> | ||
+ | pair A = (0,4); | ||
+ | pair B = (7,0); | ||
+ | void drawvert(int xstart, int len) | ||
+ | { | ||
+ | draw((xstart,A.y)--(xstart,A.y-len)); | ||
+ | } | ||
+ | void drawhori(pair start, int len) | ||
+ | { | ||
+ | draw(start--(start.x+len,start.y)); | ||
+ | } | ||
+ | //draw verticals | ||
+ | int[] verts = {4,4,4,2,4,3,4,4}; | ||
+ | for(int i = 0; i < verts.length; ++i) | ||
+ | { | ||
+ | drawvert(i,verts[i]); | ||
+ | } | ||
+ | //draw horizontals | ||
+ | drawhori(A,7); | ||
+ | drawhori(A - (0,1),7); | ||
+ | drawhori(A - (0,2),4); | ||
+ | drawhori((B.x-1,2),1); | ||
+ | drawhori((0,1),2); | ||
+ | drawhori((4,1),3); | ||
+ | drawhori(origin,7); | ||
+ | //labels | ||
+ | label("$A$",A,NW); | ||
+ | label("$B$",B,SE); | ||
+ | //Credit to dasobson for the diagram</asy> | ||
[[2001 PMWC Problems/Problem T3|Solution]] | [[2001 PMWC Problems/Problem T3|Solution]] | ||
Revision as of 15:13, 20 April 2014
Contents
- 1 Problem I1
- 2 Problem I2
- 3 Problem I3
- 4 Problem I4
- 5 Problem I5
- 6 Problem I6
- 7 Problem I7
- 8 Problem I8
- 9 Problem I9
- 10 Problem I10
- 11 Problem I11
- 12 Problem I12
- 13 Problem I13
- 14 Problem I14
- 15 Problem I15
- 16 Problem T1
- 17 Problem T2
- 18 Problem T3
- 19 Problem T4
- 20 Problem T5
- 21 Problem T6
- 22 Problem T7
- 23 Problem T8
- 24 Problem T9
- 25 Problem T10