I created rows and cols vecs that keep places of blocks. When moving, I binary search the row or col, find the block that stops me. So moving whole sections at once. Otherwise used HashSet of pos and dir like you. Also in part 2, place the new block only on the path I take in part1. Part 2 is 26ms.
misty
- 0 Posts
- 12 Comments
misty@lemmy.worldto
Games@sh.itjust.works•Helldivers on how many people linked their accounts to PSN: Sorry. I don't have the stats on hand... And I don't think I'm allowed to give details. But a significant amount.English
13·2 years agoHe is trying to give the impression that he is not in control. Which might be true.
misty@lemmy.worldto
Asklemmy@lemmy.ml•(Serious) What are your favorite high quality Lemmy communities?
6·2 years agoFemcel memes
misty@lemmy.worldto
Programmer Humor@lemmy.ml•good luck little buddy, see you in 5 years
1·2 years agoCheck this out. It puts everything I thought that was, you know, more ethical to use to the harmful section and suggests some unknown and probably not very useful today stuff. Can someone explain if they have good points or not?
misty@lemmy.worldto
Programmer Humor@lemmy.ml•good luck little buddy, see you in 5 years
1·2 years agoIn vi for example you switch between modes. In insert mode you can insert text and in normal mode you can move around and do many other actions to edit. Getting used to this takes time and I don’t have the energy for now.
misty@lemmy.worldto
Programmer Humor@lemmy.ml•good luck little buddy, see you in 5 years
6·2 years agoI returned to emacs yesterday after using vscode out of laziness. I set up doom emacs and got everything I needed. Now typing is fun again. Actually before that tried neovim for the first time. I can’t do modal. Makes me very uncomfortable.
misty@lemmy.worldto
Programmer Humor@lemmy.ml•good luck little buddy, see you in 5 years
22·2 years agoI recently learned there are people that think emacs and vi are bloated. They like acme or sam or something. Iceberg is so deep.
Few days ago I downgraded glibc(I’m dumdum) because it was recommended in a reddit thread for a problem I was having. I couldn’t even chroot. Fortunately I could update with pacman --root
Femcel memes is single handedly keeping me hooked in.




Around 2018 people trained go playing AI LeelaZero together in a distributed way. Google’s AlphaGo was not available.