11839 - Optical Reader
Solution Description : Adhoc problem Input 5 value in each line A B C D E If only one value is between 0 and 127 then ---if it is first one then print A ---If it is second one then print B ---If it is third one then print C ---If it is fourth one then print D ---if it is fifth one then print E If two or more value are between 0 and 127 or all value are greater than 127 then print * Example: 255 255 255 255 255 => print * 255 255 127 127 0 => print * 200 128 128 20 210 => print D 0 0 0 0 0 => print * 128 128 127 128 128 => print C |
||||||||||