Others
Maths Puzzle
HR Interview
A. For it is here, that the practice of polygamous marriages had survived since time immemorial.
B. Yet, to behavioral scientists and ethnologists it is a very important place.
C. Almost every able-bodied youth in this village boast of four to eight wives, living in perfect harmony.
D. Dhadigam is a tiny, nondescript hamlet in western Gujarat that hardly ever shows up in any tourism map.
a)ADBC
b)CDBA
c)DBAC
d)BDAC
Read Solution (Total 2)
-
- c) Right ans : DBAC
- 11 years agoHelpfull: Yes(19) No(0)
- DBAC right might be
- 10 years agoHelpfull: Yes(0) No(0)
Others Other Question
A locker has a 5 Digit Password .The forth Digit is 4 more than the Third one. The Second Digit is 3 less than the Third one.The first digit is 4 times the Forth one. Sum of Any Three Digits Leads to 11. Find the Password
Bleak Numbers
In Mathematics each number has one special number, which it supports, chosen as follows. It counts the number of ones in its own binary representation, and adds this count to itself to obtain the value of the number it supports. That is, if j(m) means the number of ones in the binary representation of m, then m supports m+j(m). For example, the number eight (1000 in binary) supports nine, whereas nine supports eleven.
However, in this way not all the numbers get supported; some are left without support, and we call these numbers bleak. For example since one supports two, two supports three and three supports five, there is no number less than four, which would support four, so four is bleak.
Your task is for a given number recognize if it is bleak or supported by some number.
Input
First integer containing the number of test cases, followed by the number to be checked.
Output
For every checked number n write one line containing the word BLEAK if n is bleak or the word SUPPORTED if given n there exists m such that n=m+j(m). In case of wrong input print -999.
Examples
Input:
2,4,9