Search:

Type: Posts; User: ihaterecursion

1. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

It would really help me if anybody could help me...

It would really help me if anybody could help me with this.
2. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

20 is the max number each number will be. I'm...

20 is the max number each number will be. I'm just trying to figure out what a memoization strategy would look like on this problem.
3. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

Just another question regarding this problem,...

Just another question regarding this problem, would it be possible to apply memoization to this algorithm ( or to a different algorithm solving this problem)? If so how?
4. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

The examples are from the problem itself, and my...

The examples are from the problem itself, and my instructor (after I asked) told me that for simplicity the problem assumes the necklace to be just a straight line, so no circle.

Thank you for the...
5. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

John, your solution is most probably what the...

John, your solution is most probably what the problem was asking for. Thank you very much! If you don't mind could you please add some comments or a brief explanation of what it does so that I can...
6. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

Example input/output: s = 12, r = 17, t = 20,...

Example input/output:

s = 12, r = 17, t = 20, e = 20, TOT = 69
RESULT=67

s = 13, r = 11, t = 14, e = 18, TOT = 56
RESULT=54

s = 7, r = 14, t = 12, e = 10, TOT = 43
RESULT=42
7. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

I shared my first attempt in the previous post....

I shared my first attempt in the previous post. This is my second and different attempt which works way better but I don't think it's a completely valid solution for this problem.
8. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025

Yeah sorry :P This is my sad attempt at this...

Yeah sorry :P
This is my sad attempt at this problem
9. Thread: Help with C combinatronics problem

by ihaterecursion
Replies
20
Views
1,025 Help with C combinatronics problem

Hi, I'm learning combinatronics and algorithms in C at uni and stumbled upon this problem which I'm struggling to solve. I'm posting here after trying for 3 days to write a decent solution, but the...
Results 1 to 9 of 9