Chat:World/2022-04-18

From CG community
Revision as of 05:29, 19 April 2022 by Chat Log (talk | contribs) (Created page with "<img src=/a/77574940369500> a-Rye: I mean, you definitely won that match <img src=/a/67639726080126> iFreAku: https://www.codingame.com/clashofcode/clash/2349562cd167d4fa8e36...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

a-Rye: I mean, you definitely won that match

iFreAku: https://www.codingame.com/clashofcode/clash/2349562cd167d4fa8e36d8cfbd451b59018c871

iFreAku: https://www.codingame.com/clashofcode/clash/2349562cd167d4fa8e36d8cfbd451b59018c871

iFreAku: https://www.codingame.com/clashofcode/clash/2349562cd167d4fa8e36d8cfbd451b59018c871

iFreAku: https://www.codingame.com/clashofcode/clash/2349562cd167d4fa8e36d8cfbd451b59018c871

eulerscheZahl: no no no

iFreAku: https://www.codingame.com/clashofcode/clash/2349569e47575d82bc4ec417d846cd8a337f64a

iFreAku: https://www.codingame.com/clashofcode/clash/2349569e47575d82bc4ec417d846cd8a337f64a

iFreAku: https://www.codingame.com/clashofcode/clash/2349569e47575d82bc4ec417d846cd8a337f64a

Default avatar.png JoelEB: where do you see your lague?

Default avatar.png JoelEB: league

R3KS: Good Day

ASM_MOV_INT: <--- clashing

ASM_MOV_INT: rofl

ASM_MOV_INT: <-- oh, and drinking lol

5DN1L: :thinking:

Default avatar.png ashiknur: can anyone suggest to me a streaming video or any video where he used monte Carlo tree search for bot programming

jacek: hmm

XyhFromChina: Nice

Westicles: Balls on Parade is getting rave reviews. "Comment: A nice, elegant clash."

Westicles: dang, that was for antiwonto

jacek: Automaton2000 what does he means?

Automaton2000: i don't think that's true

Default avatar.png Red_Fire_: terrain

cagriy: hello from TURKEY

isimkullanmiyorum: hi everyone

tkankan: Hello

Default avatar.png jwpihlgren: let Y+

Shazbaz: I just did The Power of Thor. That was pretty fun :)

Kellthazar: nice

Shazbaz: If I leave this and go to another game, will I still be able to view my final code later?

5DN1L: If you have played your code once or submitted your code, the code will remain there

Nik05: It will save your last tried or submitted code

Shazbaz: cool :sunglasses:

Nik05: You can also publish a solution

Shazbaz: I figured it probably would, but still wanted to check first

Nik05: Oh right, it will save all submitted solutions

Shazbaz: Publish a solution?

Nik05: Then other people can see your code as well

Default avatar.png Atuldagur2: HELLO FROM INDIA

Default avatar.png Atuldagur2: INDIAN

Default avatar.png Atuldagur2: Nik05 HELLO

Nik05: Hello

ZndrBrok: Hi guys, for the CoC event, it's only one clash/round ?

ZndrBrok: I just tried the C# one from 12.00 and i was thinking it's more than just one "fight"

Shazbaz: Is CoC not something that runs all the time?

5DN1L: CoC event is separate from usual CoC: https://www.codingame.com/events/1397c606a3f28565df3ecc62dcaa2280b84

Shazbaz: ahhh, thank you

5DN1L: :)

jacek: :upside_down:

5DN1L: Do it sideways ㋡

jacek: (:

5DN1L: :thumbsup:

Default avatar.png MikkeMo: Hi huys! I am a complete noob in programming! Will you say that this is a good place to start learning JavaScript?

5DN1L: No

5DN1L: this is more of a place for you to practise

jacek: its not for complete noobs

Default avatar.png MikkeMo: great! thanks for your answer! Any tips? ;)

5DN1L: Please do come back when you've learned some basics

Default avatar.png MikkeMo: Thanks, will do! :)

Shazbaz: Has anyone here already done the Shadows of the Night challenge?

jacek: episode 1?

Shazbaz: yeah

5DN1L: Knight*

Shazbaz: yup, you rightr

jacek: apparently 44% people

Passifi: I did it whatcha wanna know ?

Passifi: I can already tell you it doesn't anything fancy a handful if else statements did the trick for me

VizGhar: 40 LOC in kotlin / java... I've used the java.awt.Recangle so that I don't have to compute intersection function manually

Shazbaz: I'm trying to make it work with recursive calls. Is this the wrong approach? I'm running into unexpected difficulties.

Shazbaz: Also, I'm currently working in C++

Default avatar.png Alex4545: :dev

Nik05: Shazbaz you can probably recurse

Nik05: If you have a tail call, you can always transform it into a loop if your language does optimize it

Uljahn: recursion is a total overkill for that puzzle

Nik05: oh right, you are still need an input from the game loop

Darleanow: Hey evvery1 !

Nik05: hey Darleanow

Nik05: what puzzle are you doing?

Darleanow: nothing atm

Darleanow: i'm helping a streamer lel :)

Darleanow: Hey Nik05

Darleanow: how r u tho ?

Nik05: What is the streamer doing?

Nik05: Im fine, you?

Darleanow: he is doing the horsed !

Darleanow: horses*

Darleanow: me too :)

MickeyMoise: can anyone help me with an issue on "The Fall - Epsiode 1"? I tested the program i wrote in a separate IDE and it was outputting the correct stuff, but when i play the testcase in codingame, it shows smth completely different

MickeyMoise: i;ve been stuck on this for the past hour and i just cant figure it out, seems so simple yet i just dont understand whats wrong

DaNinja: all test cases fail?

MickeyMoise: the first one works

MickeyMoise: on the second one, on the second step, it tells me that my guess is wrong, yet when i put it in the IDE it gives me the correct one

DaNinja: whats your code for room type 11?

Default avatar.png nichromat: I solved the code. But i think it is not that well done

MickeyMoise: well, none, if it tells me the position of Indy and the direction he is coming from, shouldnt i just add 1 to the y axis if its from the top, add 1 to the x axis if he is coming from the left and subtract 1 if he is coming from the right?

MickeyMoise: and then output x and y?

DaNinja: room type 11 should move him to the right always

MickeyMoise: so i need to do all the cases for all the rooms?

DaNinja: yes

MickeyMoise: and i take the room type from that string called "line"

DaNinja: for 2,4,5,6 the direction depends on which side he is coming from

DaNinja: yes, save it in a grid

MickeyMoise: and then when i go through the grid i need to check the room type and the direction?

DaNinja: yep

MickeyMoise: how many lines did it take you? :))

DaNinja: 20 lines c++

MickeyMoise: huh, ok

MickeyMoise: thanks for the clarifications

DaNinja: np

Default avatar.png Maccas: hey friendos!

5DN1L: Automaton2000, do you run on FriendOS?

Automaton2000: i don't like this game

Darleanow: http://chat.codingame.com/pastebin/fe82b61a-7a27-4f52-bf20-adb8bfec6134

Darleanow: exec(bytes('ⱡ戠㴠嬠湩⡴⥩映牯椠椠湩異⡴⸩灳楬⡴崩挊‬⁤‽楛瑮椨潦⁲⁩湩椠灮瑵⤨献汰瑩⤨੝晩挠㴾⁡…㱣⁢…㹤⁡…㱤戽਺††牰湩⡴伢敶汲灡⤢攊獬㩥牰湩⡴丢瑯漠敶汲灡⤢','u16')[2:])

Darleanow: mb, was for sharing soz :)

Uljahn: why here?

Darleanow: no clue, soz

fire_soldier888: what is a substring?

Uljahn: a part of a string

Default avatar.png Atuldagur2: HI

Wontonimo: hey Darleanow, that code above that starts with exec(bytes(... is actually this

a, b = [int(i) for i in input().split()]\nc, d = [int(ifor i in input().split()]\nif c>=a & ca & d<=b:\n print("Overlap")\nelse:print("Not overlap")

Wontonimo: you can get it by just removing the "exec(" from the beginning and the ")" from the end and running the remaining code in a python terminal

Wontonimo: or more simply, replace "exec" with "print" and run it

5DN1L: That's what his pastebin says

5DN1L: i think he pasted it here wrongly; he didn't intend to ask anything about the code

Default avatar.png Nmurphy: is there a certain threshold you have to cross to go a league up?

5DN1L: you beat the boss's score of the league

Default avatar.png Nmurphy: ok thanks

5DN1L: :)

Uljahn: promotions are regular so you might have to wait a bit

Uljahn: the delay in higher leagues is large, up to 6 hours

jacek: sometimes promoting is bugged and you need to resubmit

5DN1L: it's a feature not a bug :upside_down:

HoneyGlazedGherkinsEggTartare: hi

Uljahn: hi honey

jacek: ho hiney

a-Rye: hi ho huey

jacek: open the door get on the floor everypony walk the dinosaur

ASM_MOV_INT: clash time

jacek: Automaton2000 do you even clash?

Automaton2000: to see if you are not

jacek: :taco: Automaton2000

Automaton2000: there are so many people in the top right

jacek: nyoro~n

Nmurphy: i have beaten the boss so many times, how do i go up a league

jacek: in arena?

jacek: if you submit to arena, wait till it completes the game against players. then if you are higher than boss, you will promote

jacek: i see boss is 19.01 and youre only 17.87

Passifi: so I am now in the 98 percentile in CoC given that I am usually not ranking very high nor play all that often I am curious does coding game have any stats on how many people actually play activly, so as to give you a better actual sense of your ranking ?

Passifi: With bots the ranking seems quit authentique btw. so that seems to be vastly more active :)

ASM_MOV_INT: I don't pay any attention to rank, even when I clash at work, most of the time I get interrupted, like I'm called on the radio..... gtg! lol

ASM_MOV_INT: I feel like if a clash uses PI, the significant digits of precision should be specified, otherwise it's a brute force guessing game....

ASM_MOV_INT: I'm watching minecraft videos waiting for the next clash ! rofl

ASM_MOV_INT: I also feel like every programming language needs an isPrime function built in.... even assembly ! lol jk

jacek: and what algo for the isPrime would be? the brute force one?

jacek: or miller-rabin

UZUHAMA: Hello

UZUHAMA: world

Zorg1: jacek : does developpers care which PRNG is implemented in his language ? ;-)

ytaya: @BobLob I saw onece you use F in mian argumment like int main(F)... idk how it work can you send me the code to analyse it

BobLob: I can explain it after this clash

ytaya: ok

ytaya: ty

BobLob: ok, so the code you saw was something like main(F){

ytaya: Y

BobLob: We're letting C automatically promote F to integer, to save space, but that's really just main(int F){

BobLob: Now, C also does some behind the scenes stuff that assigns values to arguments passed to main. The first argument gets set to the value 1, so inside the C program, F now has the value of 1.

BobLob: Passing it as a second argument, like main(G,F){ will give it a different value ( here it's something like -5426 )

zakacat: take taco

Darleanow: drop :taco:

zakacat: no more tacos

Darleanow: :'(

Darleanow: wonto down ig

zakacat: yeaahh

R3KS: good day

zakacat: and he took all my tacos with him

Darleanow: some coming clash ?

Default avatar.png Codesyth: does anyone else want to use c# at all

zakacat: nope, lol

zakacat: I am working on my first clash of code puzzle. Anyone wanna try it when I am done?