Module Import alias If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore ListComp BinOpMult ListLoad Num NameLoad comprehension NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Assign NameStore Num For NameStore Call NameLoad NameLoad body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num body Continue Assign TupleStore NameStore NameStore TupleLoad NameLoad Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareEq NameLoad BinOpSub NameLoad Num body For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num AugAssignAdd NameStore Num Break Assign TupleStore NameStore NameStore TupleLoad UnaryOpUSub NameLoad NameLoad Assign NameStore NameLoad While NameLoad body Assign TupleStore NameStore NameStore TupleLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad If BoolOpAnd CompareGtE NameLoad Num CompareLt NameLoad NameLoad CompareGtE NameLoad Num CompareLt NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad body Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad Break orelse If BoolOpAnd CompareEq TupleLoad NameLoad NameLoad TupleLoad NameLoad Num CompareEq TupleLoad NameLoad NameLoad TupleLoad Num Num body Assign NameStore NameLoad Break Assign TupleStore NameStore NameStore TupleLoad NameLoad UnaryOpUSub NameLoad If NameLoad body For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Break Print BinOpMod Str TupleLoad BinOpAdd NameLoad Num NameLoad
N/A N/A sys N/A N/A __name__ __main__ N/A N/A s N/A N/A 
5
66 150 4
0 67 54 133
55 20 60 67
61 63 64 67
65 63 65 85
64 21 8
32 1 55 13
42 14 61 19
16 6 26 20
11 1 13 3
14 2 30 4
28 9 30 16
5 14 14 17
11 4 13 6
99 321 10
0 52 16 52
22 52 38 52
83 52 98 52
16 105 82 105
0 158 16 158
31 158 47 158
83 158 98 158
15 211 81 211
0 264 16 264
20 264 36 264
6 313 1
0 157 5 286
76 119 8
13 17 72 80
25 98 38 117
50 116 63 118
49 2 66 12
61 92 66 105
1 52 7 105
9 80 9 91
45 113 59 114
22 437 1
0 187 21 315
     strip N/A l N/A N/A s split N/A T N/A int N/A N/A l pop 0 N/A _T N/A xrange T N/A N/A N/A W H B N/A map int N/A N/A N/A N/A l pop 0 split N/A buildings N/A N/A i N/A xrange B N/A N/A N/A N/A buildings append N/A map int N/A N/A N/A N/A l pop 0 split N/A grid N/A N/A N/A 1 H N/A i N/A xrange W N/A N/A x0 y0 x1 y1 buildings N/A N/A x N/A xrange x0 N/A x1 1 N/A N/A y N/A xrange y0 N/A y1 1 N/A N/A N/A N/A grid N/A x N/A y 0 N/A r 0 N/A sx N/A xrange W N/A N/A N/A N/A N/A grid N/A sx N/A 0 0 N/A N/A N/A N/A cx cy N/A sx 0 N/A N/A dx dy N/A 0 1 N/A visited N/A N/A True N/A N/A N/A N/A visited append N/A cx cy N/A N/A cy N/A H 1 N/A N/A N/A x y visited N/A N/A N/A N/A grid N/A x N/A y 0 N/A r 1 N/A N/A N/A dx dy N/A N/A dy dx N/A failed False N/A True N/A N/A N/A nx ny N/A N/A cx dx N/A cy dy N/A N/A N/A nx 0 N/A nx W N/A ny 0 N/A ny H N/A N/A grid N/A nx N/A ny N/A N/A N/A cx cy N/A nx ny N/A N/A N/A N/A N/A N/A cx cy N/A sx 0 N/A N/A dx dy N/A 0 -1 N/A N/A failed True N/A N/A N/A dx dy N/A dy N/A dx N/A failed N/A N/A N/A x y visited N/A N/A N/A N/A grid N/A x N/A y 0 N/A N/A N/A Case #%d: %d N/A N/A _T 1 r