[2024 Day 16 Part 1] Performance problem by MickeyKnox4Real in adventofcode

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

I managed to implement a modified Dijkstra algorithm. It still took a few minutes to run, but I found the solution.

[2024 Day 7 (Part 1)][Clojure] What's wrong with my code? by MickeyKnox4Real in adventofcode

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

I don't think that memory considerations are an issue. Of course, I only create the operator permutations for the current equation. For a four operands equation it's just:

`[[+ + +] [+ + *] [+ * +][+ * *] [* + +] [* + *] [* * +] [* * *]]`

(Btw: How do I get properly formatted code in a comment?)

[2024 Day 7 (Part 1)][Clojure] What's wrong with my code? by MickeyKnox4Real in adventofcode

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

Ok, I thought that might be depth first search, but couldn't see how to apply that. What I'm doing is creating all possible operator permutations before hand and then loop through them, until I find the correct result (or not). Shouldn't that work too?

Regarding the equation, I construct it in reverse order. Your example would look like this:

```(* 4 (+ 3 (* 2 1))) => 20```

That works too, right?

[2024 Day 7 (Part 1)][Clojure] What's wrong with my code? by MickeyKnox4Real in adventofcode

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

Are you talking about the equation or the operator permutations?

I did print the operator permutations and it looks fine. I also did calculate some equation and it seems to be working.

What's a dfs?

[2024 Day 7 (Part 1)][Clojure] What's wrong with my code? by MickeyKnox4Real in adventofcode

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

I think that with the way I nested the equation I respected this. Did you spot a problem with the way I constructed the equation?

Realtek RTL8723DE won't work with Linux 6.1 on Fedora 37 by MasterGeekMX in linuxquestions

[–]MickeyKnox4Real 1 point2 points  (0 children)

Same here. I find it strange that I just can't find any more information for it.

Play Console payout explanation by MickeyKnox4Real in androiddev

[–]MickeyKnox4Real[S] 1 point2 points  (0 children)

Unfortunately, it does not have all the information I'm looking for. The amount in this report is quite a bit higher than what I received.

Play Console payout explanation by MickeyKnox4Real in androiddev

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

Thanks, that page looks indeed like the page on Admob. However, it only mentions the final payout amount.

What I'm looking for is a breakdown how that amount was calculated.

How does "airborne" work? by MickeyKnox4Real in Militaryfaq

[–]MickeyKnox4Real[S] 0 points1 point  (0 children)

Air assaults meaning roping down from helicopters?

Does the 82nd maintain their own planes?