Majeck: Vectors mate
Majeck: Center them on the center of the pool and then you have two options:
Majeck: A) Add an angle of 180 to the vector center_pool -> cat
Majeck: B) Multiply the vector center_pool -> cat by -1
Majeck: B )
eulerscheZahl: https://www.codingame.com/faq says Node here
aeixovu: Thanks. Any link on how they are implementing readline() ? (I'm looking for it, but not finding anything)
eulerscheZahl: readline implementation:
eulerscheZahl: source: https://discord.com/channels/466965651135922206/690566608891936769/702499119792390205
aeixovu: fantastic. very much appreciated
Q12: Hi, I have a question. I am making a contribution and every time I edit the contribution the number of views increases. When I release the contribution to the public the number of views will be reset?
eulerscheZahl: but does that really matter?
eulerscheZahl: I have a private contribution with 57 views
Q12: Why does it think it is paste bin?
jacek: because it was few lines and long
eulerscheZahl: 5 lines => pastebin
zTTK: Does the chat here have a limit? i don't see any
eulerscheZahl: the toad avatar is enough to make people look at it :P
eulerscheZahl: the char limit is 10k chars for pastebins
eulerscheZahl: and at some lower limit (600?) the text turns into a pastebin
eulerscheZahl: 600 is as pastebin already, we could do binary search
eulerscheZahl: 300 still shown
jacek: poor trictrac, all allone in the blocking league
jacek: or inefficient algorithm
jacek: i havent solved that puzzle so i dont know :v
kovi: i have mixed up d&b top pretty hard
jacek: oh my
jacek: its like dual horse racing: you can do loop in a loop which is O(n^2) but it timeouts for 10000 horses
jacek: or you can be more clever and do it in O(nlogn) which it passes
rwilson: Light-Bringer - suppose you're at the 3rd value out of 99999 and the next MIN you found is 3/4 of the way to the end ... do you REALLY need to look at point 5,6,7 ... when you're loop advances by 1 to point 4 ?
MeMBuK: hello everyone
Jotark: Why does it give different values between the site and virtual studio ? (c++)
arkwaw: perhaps you have some uninitialized values
Jotark: not rly, i dont even know how it is possible to give me the value it is given in the site, at least in visual studio it makes sense
Jotark: Doing Chuck Norris btw
eulerscheZahl: but what's "virtual studio"? :D
Jotark: visual* -.-
Jotark: And i can´t be sure but in visual studio i think it gives the right awnser
TBali: @eulerscheZahl Thanks for the answer with SameGame.
eulerscheZahl: a disappointing one, i know. you can't beat offline solving, so you have to do it yourself to be competitive
eulerscheZahl: yes, random search. sometimes i get the bonus award (save 400 liters), sometimes i don't find the target at all :D
kovi: hardcode: or just accept non-top10
kovi: i mean stick to no hardcode
eulerscheZahl: i really prefer topcoder in that matter
eulerscheZahl: 2k testcases *AFTER* the contest
eulerscheZahl: you could hardcode now but there's no point in doing so
kovi: yes, but that may not work for contest without deadline
eulerscheZahl: i know
SamGoldFisher: Hello, Sorry to interrupt. Anyone did the puzzle of the week?
SamGoldFisher: I do struggle with only the suicidal move while submitting and I don't understand why...
tekki: no sorry
PatrickMcGinnisII: what is it, Go?
PatrickMcGinnisII: 4 directions right? if all 4 directions are enemy or over the edge...then you have to flood those directions...if any of those areas of enemies can be removed, then its a valid move....so are you flood checking those directions?
SamGoldFisher: I do,
SamGoldFisher: Actually it's more like I am looking for a "." in the neighboorhood but it seemed to do the job
SamGoldFisher: but I don't pass the tests while submitting and I don't know why
PatrickMcGinnisII: hmm, puzzle of weeks say chess board analyzer ... is there an Atari Go puzzle? or just bot games?
SamGoldFisher: atari go puzzle
MACKEYTH: Well, blow me down; Java FTW for once.
PatrickMcGinnisII: is is medium, easy?
SamGoldFisher: it says Hard on the presentation page
MACKEYTH: I've been reading about hashtables all morning, and it turns out Java includes a perfectly good implementation.
PatrickMcGinnisII: ahh its called a Game of Go
PatrickMcGinnisII: yup i just do a flood and determine if it's closed or not, I don't know what to say beyond that
SamGoldFisher: Ok, sorry for the disturbance. I will look at it again.
PatrickMcGinnisII: not disturbed, g/l
jacek: vim is so addictive, i cant quit it
jacek: private clash?
Illedan: Private CSB?
jacek: private puzzle?
jacek: there is nothing like "private game". you can start private clash in clash tab in buttom
PatrickMcGinnisII: another puzzle down, sliding puzzle, *yawn*. laterz.
inoryy: Illedan CSB should be done proudly out in the open
jacek: keep it PG-13
Zenoscave: What's a good multi for applying mcts?
Zenoscave: thanks aCat
aCat: but you have to be blazingly fast
Zenoscave: that's what I was thinking
aCat: for other things I nearly always suppose evo is better
aCat: maybe hypersonic
aCat: evolutionary / genetic algorithms
Zenoscave: ah right