Project Euler #99: Largest exponential

  • + 0 comments

    It looks that almost of all accepted solution fails one of these cases.

    Input

    2
    57592  651791025
    10000 775690333
    1
    

    Output

    57592  651791025
    

    Input

    2
    135366 5167045
    10 26514741
    1
    

    Output

    10 26514741