Copying Books POJ - 1505 Before the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written by hand by so...
A Central Meridian (ACM) Number N is a positive integer satisfies that given two positive integers A and B, and among A, B and N, we have N | ((A^2)*B+1) Then ...
Problem Description Now given two kinds of coins A and B,which satisfy that GCD(A,B)=1.Here you can assume that there are enough coins for both kinds.Please ca...
Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the largest prime factor. The position of prime ...
Problem Description Now given two kinds of coins A and B,which satisfy that GCD(A,B)=1.Here you can assume that there are enough coins for both kinds.Please ca...