The breaks are hard to deal with indeed. I have 1h tops and then I have to take care of the kids. After that I have to hope that I find some time at work.
I was 11 seconds faster on part 2 then you today dmitry. That was close. I think I could have been faster if I didnt brute force it. Once you get a cycle I guess you can calculate where you should end up. I just did all 1B iterations :p
The only thing that we will miss a bit is the dirty code in case you clean in it up. But I can live with that. I learned a lot by watching the other repositories :)
It is not that the task was so difficult, for me it was more that debugging it was very complicated. That and understanding the assignment was not easy for me toady.
There are some videos on https://www.reddit.com/r/adventofcode/ doing speed runs. They are mostly using python wich is very good at mapping functions to inputs.
Oke, The guys on the leaderboard are pretty insane.
I got up 2 mornings at 6am. (Thats when it starts for me.) Started programming but being done and making no mistakes in 10 minutes or less to get on the leaderboard is just nuts.
I implemented a simple hash function for it. I just created a new word from all the letters in alphabetical order. If it's the same word. tadaaa. Code is found in my bitbucket above.
go to post
Well I did the same as Ivo, just kept running the 2 jobs in the same loop.
I think you can trade info with globals as well.
go to post
The breaks are hard to deal with indeed. I have 1h tops and then I have to take care of the kids. After that I have to hope that I find some time at work.
go to post
Same problem for me
go to post
I was 11 seconds faster on part 2 then you today dmitry. That was close.
I think I could have been faster if I didnt brute force it. Once you get a cycle I guess you can calculate where you should end up. I just did all 1B iterations :p
go to post
My best result for the leaderboard was today:
And t hat means I am still only top 200. I was 4 minutes to slow.
How close have you guys come to top 100?
EDIT: I could have been 1 minute faster btw if I didnt submit the result of the test case as the first result. Waiting one minute doing nothing sucks.
go to post
Jozef, Have you allready joined our intersytems private leaderboard? the code is: 130669-ab1f69bf
(you can join multiple btw if you are allready in a leaderboard)
go to post
go to post
Can the community code itself be added to repository?
I sometimes have the feeling that pages are very slow and I want to contribute ^^
go to post
That is fine for me.
The only thing that we will miss a bit is the dirty code in case you clean in it up. But I can live with that.
I learned a lot by watching the other repositories :)
go to post
Can you make it a requirement to share your code?
That way, we can learn something from other people and how they solve things.
go to post
It is not that the task was so difficult, for me it was more that debugging it was very complicated.
That and understanding the assignment was not easy for me toady.
go to post
There are some videos on https://www.reddit.com/r/adventofcode/ doing speed runs.
They are mostly using python wich is very good at mapping functions to inputs.
some playlists below:
https://www.youtube.com/playlist?list=PLqhjTZS4RhCe-TMJlGvlXu7X_NmZaUtDe
https://www.youtube.com/watch?v=bCnTOC5l7TY&list=PLqLJjAz977SsDLGLmDx5sZcyD4JkmVxO0&index=2
go to post
Oke,
The guys on the leaderboard are pretty insane.
I got up 2 mornings at 6am. (Thats when it starts for me.)
Started programming but being done and making no mistakes in 10 minutes or less to get on the leaderboard is just nuts.
go to post
I implemented a simple hash function for it. I just created a new word from all the letters in alphabetical order.
If it's the same word. tadaaa. Code is found in my bitbucket above.
go to post
Not getting up at 5 am here either.
But seeing different solutions in cache is worth it.
go to post
They will still be there on christmass :p
go to post
Where is Danny when you need him? I guess he got a bit tired by doing 2016 one :)
go to post
My solutions are here: https://bitbucket.org/bertsarens/advent2017/
go to post
I joined it :)
PS.: you can have multiple private leaderboards, in case you wonder.
go to post
The argumentless-For is the worst in showing intent of the code.
A quit statement can be anywhere in the code. There is no clear definition as to where to put the condition for ending the loop.
What is wrong with a while that shows clear intent:
while (struct'="") {
s struct = $ORDER(TABEL(struct),1,data)
}