Computer Programming Contest Preparation

ToolBox - Source for: 12/1200/u3.in



/home/toolbox/public_html/solutions/12/1200/u3.in
    1 14
    2 2x-4+5x+300=98x
    3             2x-4-2x+5x+300=98x
    4                            x+2=2+x
    5                                x+3=2+x
    6                                    0x+5=5
    7                                         0x+5=4
    8                                                 5x-6=4
    9                                                         4x-0x-3=2-x-0x
   10                                                                 x=1
   11                                                                         2x=1
   12                                                                                 2=2
   13                                                                                         2=3
   14                                                                                                 x+2=2
   15                                                                                                         x=0
   16                                                                                                                 2x+3=0
   17