I tried to solve the question:
https://codeforces.com/problemset/problem/1294/C.
This is what i tried
But I am not getting the right answer.
I tried to solve the question:
https://codeforces.com/problemset/problem/1294/C.
This is what i tried
But I am not getting the right answer.
Hey @srividhya_14
Please re read the question and specifically output format
See the example
Your output format isnt correct
The first part of output output itself I am getting all Yes . Even for 32 I am getting Yes. I am unable to know in logic where am i going wrong
Hey @srividhya_14
u are returning true for all t>=3
hence u are getting Yes for all
Say for 32 = 2^5 u cant have thre nos a,b,c such taht a*b*c==32 and all are >=2
Refer to editorial ask me if u domt understaand something in it
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.