Computer Programming Contest Preparation

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



/home/toolbox/public_html/solutions/1/119/u2.in
    1 10
    2 qghume ylnlf xfir vscxggb kfnqdux fnf zvsrtkjpr pggxrpn vystmwcy yyc
    3 zvsrtkjpr 1805 1 yyc
    4 qghume 1350 6 ylnlf vscxggb vystmwcy yyc vscxggb kfnqdux
    5 kfnqdux 756 4 zvsrtkjpr zvsrtkjpr ylnlf vystmwcy
    6 kfnqdux 439 1 vscxggb
    7 pggxrpn 1538 5 xfir yyc ylnlf vscxggb fnf
    8 yyc 1658 4 qghume pggxrpn zvsrtkjpr vscxggb
    9 zvsrtkjpr 1021 4 kfnqdux xfir qghume yyc
   10 pggxrpn 1573 2 xfir zvsrtkjpr
   11 qghume 1161 3 fnf pggxrpn fnf
   12 kfnqdux 31 6 qghume qghume ylnlf zvsrtkjpr qghume pggxrpn
   13 8
   14 atxdknly yhfixjsw kkufnuxxzr bmnmgq oketl hnkoaugzq cddi teiojwa
   15 kkufnuxxzr 886 1 yhfixjsw
   16 hnkoaugzq 142 5 atxdknly yhfixjsw cddi kkufnuxxzr bmnmgq
   17 hnkoaugzq 1699 3 oketl oketl bmnmgq
   18 atxdknly 600 1 bmnmgq
   19 hnkoaugzq 1861 4 yhfixjsw teiojwa teiojwa kkufnuxxzr
   20 yhfixjsw 182 1 atxdknly
   21 kkufnuxxzr 617 3 atxdknly oketl yhfixjsw
   22 kkufnuxxzr 1721 5 atxdknly yhfixjsw atxdknly oketl yhfixjsw
   23