ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1083. Factorials!!!

So stupid ...
Posted by baldman88 28 Jan 2014 16:37
Sorry for my english.
First of all check the value of k: 0 < k < n. If False, then the result is n, otherwise -- use formulas.
Re: So stupid ...
Posted by prostack 1 Feb 2014 14:48
I saw your recent topic, so maybe someone will answer MY Q here (haha).

Guys, help me to understand. I see 'n!!…! = n(n−k)(n−2k)…(n mod k)', between '-' sign and 'k' IS value here(which changes from 0...2...X . I used X, 'cause I dont know, TO WHICH number should this value change (of course 'k' or 'n'), tell me to which and why ? Actually, I think this task isn't formalized as shoud be(tell me if i'm wrong please).
Re: So stupid ...
Posted by Mazyod 6 May 2015 13:08
Thanks, you're right about that ... so stupid.

Edited by author 06.05.2015 13:09