DQ-2
Report Error
Coding Type Question
Marks : 10 Negative Marks : 0
Shreya is fond of numbers. Given a number, she subtracts it with squares of any
one particular digit of that number to get new numbers. This operation can be
applied any number of times (possibly zero) till she obtains a special number. If
she is able to reach to a special number then she wins. A special number is a
number which can be expressed in the form A4, where A is a positive integer
SAMPLE INPUT
3
ܢܝܝ
OE
3
13
SAMPLE OUTPUT
Yes
No
Yes
Explanation
Case 1:1 is a special number, hence the answer is "Yes".
Case 2: 3 is not a special number, the answer for this is "No". 3 - 33 = -6 is also
not a "special number". Hence the final answer is "No".
Type here to search
Answers
Answered by
1
Answer:
Oh ✌ poora paper de dete bro
Answered by
0
Answer:
What is the question? you gave the answer so what is the question?
Explanation:
PLS FOLLOW UP AND MARK ME AS THE BRAINLIEST
Similar questions