Jump to content

Coding Challenge 1


fake_Bezawada

Recommended Posts


arey question lo em undi ra..
means x=2 is the smallest positive integral root




so output will be 2,if it is positive integral root or else -1 [font='Open Sans']if there is no positive integral roots.


[font='Open Sans']output should be 2 for input 2[/font]

[font='Open Sans']if its not a root then output should be -1[/font]

[/font]
sample outputs itchadu choodu andhulo 2 ki 1 output vundhi

Hackerearth site lo vundi ee coding puzzle ozo's problem ani check chey once
Link to comment
Share on other sites

×
×
  • Create New...