Junilu Lacar wrote:
Bhaskar Bantupalli wrote:The question says almost. So printbto a file and search for ****** and see if it almost looks like a tree. I brute forced it and found solution
Ah, the old school of Brute Force way... I see. I will give it a shot. Hopefully it's not that many iterations.
Tim Cooke wrote:This staying up all night shenanigans must be exhausting Junilu. The puzzles get released at 5am in my timezone so it's at least close to getting up time for me, although when you're a few days behind it hardly matters.
Bhaskar Bantupalli wrote:The question says almost. So printbto a file and search for ****** and see if it almost looks like a tree. I brute forced it and found solution
Bhaskar Bantupalli wrote:The question says almost. So printbto a file and search for ****** and see if it almost looks like a tree. I brute forced it and found solution
Liutauras Vilda wrote:
Junilu Lacar wrote:Yeah, I was tempted to do it this way, to just brute force the answer out with a couple of nested loops. But then I finally saw that it was two equations, two unknowns and it could be solved without iteration.
Well, yes, equations I see, they are spelt out in explanation, not exactly with ink on paper, but almost, i.e. for first claw machine a two of those are:
94x + 22y = 8400
34x + 67y = 5400
I'm just working out how to derive at what I need to using them. Will do a bit of reading. I'll have to go to sleep now as tomorrow is an office day, but will continue tomorrow.
Liutauras Vilda wrote:It just doesn't scale of course what the part 2 requires.
Tim Cooke wrote:Looks rather mathy this one, which is not my strong point. I predict a struggle ahead.
Tim Cooke wrote:Looks rather mathy this one, which is not my strong point. I predict a struggle ahead.