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

29.31% Correct | 70.69% Incorrect
Last Solution submitted on Mar 17, 2020

Problem Comments