Problem 2889. İmage Series 1 OR

Given two input first one is a number which is uint8, second one is image which is 8 bit gray scale image, the image has pixsels which are also uint8 for example

first input is 4 if we convert it binary we get 00000100

also each pixsel is converted to binary format in the image

00000100 (OR) image(binary format) which produce output image that is the binary format

in the end output is converted to uint8.

Solution Stats

71.43% Correct | 28.57% Incorrect
Last solution submitted on Jan 09, 2019