Computer Programming Contest Preparation

ToolBox - Source for: 1/122/u2.in



/home/toolbox/public_html/solutions/1/122/u2.in
    1 (11,LL) (7,LLL) (8,R)
    2 (5,) (4,L) (13,RL) (2,LLR) (1,RRR) (4,RR) ()
    3 (3,L) (4,R) ()
    4 (1,) (2,L) (3,LLL) (4,LLR) (5,LRR) (6,LRL) (7,R) (8,RL) (9,LL) (10,LR) (11,RR) ()
    5 (2,) (4,) ()
    6 (2,) ()
    7 (1,) (3,L) (4,R) ()
    8 (1,) (3,L) (4,R) (10,L) ()
    9