Computer Science, asked by yammyfoodz, 1 month ago

A given number is called a Supremo Godzilla if it
meets the following criteria -
1. The digits in the number X can be split into 3
consecutive blocks and sum of any 2 blocks is equal to
the value of the Brd block.
2. Digits cannot be skipped
3. There is no overlap of digits between the 3 blocks.
4. Leading O's in a number can be ignored ie if a
given number 1002 is split as 10 & 02, then 2nd
number effectively becomes 2 ignoring the leading
zero
The above make it a Godzilla Number. To be a
Supremo
5. The smaller 2 numbers should be mirror images of
each other
Constraint:
0 < X <= 2*32-1​

Answers

Answered by Sophia30
0

Answer:

Target question: Is the integer x a 3-digit integer?

Statement 1: x is the square of an integer.

Let's TEST some values.

There are several values of x that satisfy statement 1. Here are two:

Case a: x = 10² = 100. In this case, the answer to the target question is YES, x IS a 3-digit integer

Case b: x = 9² = 81. In this case, the answer to the target question is NO, x is NOT a 3-digit integer

Since we cannot answer the target question with certainty, statement 1 is NOT SUFFICIENT

Statement 2: 90 < x < 150

TEST some cases.

Case a: x = 100. In this case, the answer to the target question is YES, x IS a 3-digit integer

Case b: x = 91. In this case, the answer to the target question is NO, x is NOT a 3-digit integer

Since we cannot answer the target question with certainty, statement 2 is NOT SUFFICIENT

Statements 1 and 2 combined

There are THREE values of x that satisfy BOTH statements: x = 100, x = 121 and x = 144

In all three cases, the answer to the target question is the same: YES, x IS a 3-digit integer

Since we can answer the target question with certainty, the combined statements are SUFFICIENT

Answer: C

Cheers,

Brent

Answered by Anonymous
0

Answer:

cool

Explanation:

Similar questions