Challenge : hyperfactorial | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

Challenge : hyperfactorial

The hyperfactorial for n equals n^n.(n-1)^(n-1)...5^5.4^4.3^3.2^2 Write a function calculating hyperfactorial(n) and invhyperefactorial(f) such that invhyperfactorial(hyperfactorial(n))=n Application find k such that huperfactorial(k)= number of milliseconds in a day

10th Dec 2017, 4:49 PM
VcC
VcC - avatar
10 Answers
+ 4
My try in C, inverse huperfactorial return 0 if the parameter is not the result of huperfactorial call https://code.sololearn.com/cc3b9swSZxun/?ref=app
10th Dec 2017, 9:37 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
https://code.sololearn.com/c8yf4bef2aeq/?ref=app Well, I'm 2 years in late ahah
12th Nov 2020, 10:38 PM
Gabriele Gatti
Gabriele Gatti - avatar
+ 3
https://code.sololearn.com/WbbLRn1fHNw2/#js Well, looks like I've failed both requirements.... nice challenge tho XD
11th Dec 2017, 4:38 PM
Ng Ju Ping
Ng Ju Ping - avatar
+ 3
this is my first code which worked in first try๐Ÿ˜… https://code.sololearn.com/c6yuD62sPL1H/?ref=app
14th Nov 2020, 5:19 AM
Bot
Bot - avatar
10th Dec 2017, 5:51 PM
sayan chandra
sayan chandra - avatar
+ 2
i just gave 1 zero less##### @ vcc ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚
11th Dec 2017, 3:04 AM
sayan chandra
sayan chandra - avatar
+ 1
My try using C. May show bugs on code playground due to use of C99 features. Edit: Recursive approach used for inverse hyperfactorial https://code.sololearn.com/cWd0jbpS8uyH/?ref=app
10th Dec 2017, 6:55 PM
DAB
DAB - avatar
+ 1
Not the entire Challenge, but I assume here: I did the best I could https://code.sololearn.com/c7OEsr6xhSh7/?ref=app
12th Dec 2017, 2:01 AM
Jonathan รlex
Jonathan รlex - avatar
0
@sayan application result should be 5
10th Dec 2017, 8:32 PM
VcC
VcC - avatar