Search found 1 match

by kozlo
Mon Jan 06, 2014 8:33 pm
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 18200

Re: WA in 107

Here are test cases which helped me to get AC. Hope that helps somebody.
Input:

Code: Select all

216 125
5764801 1679616
49 36
343 216
16 1
1 1
3 2
4 3
0 0
Output:

Code: Select all

31 671
335923 30275911
7 127
43 1105
4 31
0 1
1 5
1 7
Konrad

Go to advanced search