WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Category: Exercise

Candy sale

Threads: Lee has an infinite number of candy bags in turn 6, 9 and 20 the candy. Have 1 the customer wants to buy n candies, Lee wants to sell as many bags of candy as possible. Help Lee figure out the maximum number of candy bags sold, know that she won't be sold

Find Number Pairs

Threads: Given a positive integer x. Find pairs of positive integers (a, b) satisfied: UCLN(a, b) + BCNN(a, b) = x. In there: UCLN(a, b) is the greatest common divisor of 2 numbers a and b. BCNN(a, b) is the least common multiple of 2 numbers a and b. Input: Current

Brick Phone

Threads: “Throw the dog to death” is a saying often used to refer to phones “brick” once upon a time. Today, We will have a little exercise about these legendary phones. Let n be a string of numbers (contains only characters 0,1,2,3,4,5,6,7,8,9). Based on the picture