Posts by Gabriel Santos • 33 points
2 posts
-
0
votes1
answer67
viewsQ: Slow execution of a repeat problem for c
I made this algorithm for the problem below. It works and returns the desired value. However it is running slow for the size of the problem and the tool, which fixes the problems, is not accepting…
casked Gabriel Santos 33 -
0
votes2
answers401
viewsQ: Factorial function does not return
I need to use function in C but is not returning the factorial. Problem:"Given an integer n, calculate its factorial n!. The factorial of a number is given by the equation: n! = n(n1)(n2) : : : 1.…