Cody

Problem 1639. SHIFT REGISTER

INPUT IS DECIMAL NUMBER. CONVERT IT INTO A BINARY SEQUENCE. THEN SHIFT THE SEQUENCE BY AN AMOUNT OF GIVEN NUMBER OF BITS. FOR EXAMPLE: a=120; & n=5; then output will be:1100011

Solution Stats

28.07% Correct | 71.93% Incorrect
Last solution submitted on Sep 09, 2019

Problem Comments