|
|
back to boardplease help if accepted Posted by amirani 20 Jul 2011 22:08 please anyone help me if accepted . it gives me wrong answer on test 1 and as i suppose in test 1 k=0 and i don't know what write :) thanks... Re: please help if accepted Posted by عثمان 31 Aug 2012 08:03 int result = 1;
for (int i = n; i > 0; i -= k) result *= i; |
|
|