Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

AMSGAME1_need help.......

$
0
0

this is the algorithm upon which ihave formed my code..if(n>1) then, if atleast 1 odd number is present in the sequence then the output is 1 .if all the numbers are even then output is 2. if n=1,then the output is the input itself...but im getting wrong anwer ...sum1 pls help...


Viewing all articles
Browse latest Browse all 40121

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>