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

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 39796

Trending Articles