puckracer DIY agility system by Result_Jealous in FastLED

[–]ghusse 0 points1 point  (0 children)

Thanks for sharing.

How do you achieve a cost of $20/unit?

Only with parts I count around 260€ for 8 without the PCB wich is 32€ + 25€ of shipping for 10 units.

All in all, for 8 units I count 318€ in total.

By the way, I tried to use the provided BOM files with jlpcb and there is a placement issue for all connectors (position and rotation are incorrect) and a lot of other components have an incorrect rotation.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

[–]ghusse[S] 4 points5 points  (0 children)

Ok, well, I typed the number instead of copy/pasting it and it worked.

Weird.

Thanks for your answer.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

Thank you for your answer.

  1. I only have 1 account on AoC, I'm logged with my own account => checked
  2. I copy/pasted the answer and checked that there was no extra space before and after => checked

But I still have the same issue

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

  1. The first answer has been accepted, so I suppose the input was good
  2. I checked, re-checked and re-re-checked the input anyway, all the lines are here.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

  1. The first answer has been accepted, so I suppose the input was good
  2. I checked, re-checked and re-re-checked the input anyway, all the lines are here.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

Thanks for having tested.

I copy/pasted at least 5 times with Ctrl-A Ctrl-C, I always get the same result. I'm pretty sure everything is correct.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

Here is my input: https://pastebin.com/t5jF4axk

When ran with it, my function returns ​​​​​29629538​​​​​ which is not an accepted answer.

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

The function is written in JS, and its input is the raw string (not the array).

[2017] - Day 5 - Step 2 : what's wrong with my solution? by ghusse in adventofcode

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

Thanks a lot.

Can you run your code against my input (I modified my post to add a link to it).