Chat:World/2021-09-04

From CG community
Jump to navigation Jump to search

struct: gn

jacek: happy Caturday

struct: hi

Default avatar.png error101010010: hi

Marchete: happy Caturday

Default avatar.png Siekay: hi

Default avatar.png Siekay: i wanna try the cooperation game... anyone to join?

Default avatar.png JudasMoses: The shortest code challenge seems kinda dumb for c++...

eulerscheZahl: you are free to switch language at any time

jacek: :drum: https://media.discordapp.net/attachments/688726629509496846/883433851123298324/dadjokes_stable.JPG

TimothyAlexisVass: How is 1, 2, 3 related to 14?

TimothyAlexisVass: :/

jacek: clash reverse?

TimothyAlexisVass: 1**2+2**3+3**3

eulerscheZahl: 3**3 = 27 already

TimothyAlexisVass: I meant 1**2+2**2+3**2

Default avatar.png Maxim251: interesting is that for switch statement if I want use enumerate for cases, I need cast enum to int

eulerscheZahl: that doesn't sound right

Default avatar.png Maxim251: http://chat.codingame.com/pastebin/1318571f-56c0-4030-a901-28512fa1ca96

eulerscheZahl: C++?

Default avatar.png Maxim251: Yes

Default avatar.png Maxim251: It suprised me too, when I start to play with it

eulerscheZahl: https://stackoverflow.com/questions/3019153/how-do-i-use-an-enum-value-in-a-switch-statement-in-c/3019195#3019195

Default avatar.png Maxim251: Yes, but that is integer input, My goal was to find out if I can store enum and use it for switch

Default avatar.png Maxim251: http://chat.codingame.com/pastebin/1a6b122c-9f47-429c-b70e-af450cb97319

eulerscheZahl: now you've done it: you made me open my IDE. Are you proud now? :/

jacek: oh my!

Default avatar.png Maxim251: Question is if someone use enum containet to use in switch case?

jacek: MSmits: hello yavalath runner up

eulerscheZahl: https://tech.io/snippet/RBl7du3

eulerscheZahl: seems that I don't even need the (int) at case (int)second:

eulerscheZahl: in C# that cast would be necessary

Default avatar.png Maxim251: yes...

jacek: what is this heresy

Default avatar.png Maxim251: only "type" must be casted to int

BlaiseEbuth: No.

BlaiseEbuth: You don't need any cast

Default avatar.png Maxim251: In my ide I get error if I dont do it, and it says, that switch dont suport enum

BlaiseEbuth: What compiler/C++ standard?

eulerscheZahl: MS Visual Studio? :smirk:

Default avatar.png Maxim251: codingame compiler

eulerscheZahl: if you ignore the error and try it anyways?

eulerscheZahl: IDE highlighting and actual compiler result may differ

Default avatar.png Maxim251: hm, I did not try..

BlaiseEbuth: I always use enum with switch on CG and never got any error...

eulerscheZahl: I use polymorphism

eulerscheZahl: and then wonder why it's so slow

Illedan: Yo, zup?

eulerscheZahl: still trying to find motivation for yare :/

Illedan: yare?

eulerscheZahl: https://yare.io/

eulerscheZahl: https://yare.io/tournament

Illedan: ah

eulerscheZahl: the lack of real contests hits me hard

Illedan: yeah, should be 3-4 CG contests a year

eulerscheZahl: there is Lux AI. but such a long duration is a deal breaker to me

Illedan: Agreed

Illedan: and no C# yet?

eulerscheZahl: i don't think so

Illedan: Then I wont bother

eulerscheZahl: i play yare with JS, so...

Illedan: lol

Illedan: You can do the JS part of my Snake game if you want xD

eulerscheZahl: that's easily the hardest part of the game then

BlaiseEbuth: Maxim251, this works perfectly in the CG's IDE: http://chat.codingame.com/pastebin/b7d9d7a9-9cf5-4296-9bea-55526263372c

Default avatar.png Maxim251: Ow, interesting, enum type is working for switch case... But why I have message on that line saying that switch is not suporting enums?

eulerscheZahl: because of reasons

BlaiseEbuth: I don't have any messages, not even warnings...

Default avatar.png Maxim251: casting enum container to int helps remove that message, and works like with normal integers

eulerscheZahl: the syntax highlighting and compiler aren't the same

eulerscheZahl: many languages have problems with different versions

Default avatar.png Maxim251: Ow, Yeah, thats make sense

eulerscheZahl: lots of bug reports on discord already

Illedan: I had a huge new feature in FB, but it was worse. I threw it away. Yesterday I tried it again and saw I crashed sometimes -.- Last battles should reveal crashes :(

**eulerscheZahl never noticed any problems, local IDE ftw

eulerscheZahl: so you don't have the code of that feature anymore?

Illedan: Sure, it was in my history

Illedan: And I fixed it, just slightly better -.-

Illedan: http://cgstats.magusgeek.com/app/multi-fantastic-bits/illedan

eulerscheZahl: fix it more

Illedan: working on it :P

eulerscheZahl: but nice rank already

BlaiseEbuth: Use a starter, go legend.

BlaiseEbuth: EZPZ

eulerscheZahl: that's lame

BlaiseEbuth: Lamer gonna lame.

TimothyAlexisVass: top 400 took like 120 clashes... Top 200 took me 377 clashes :/

TimothyAlexisVass: Actually learned quite a lot, I'm grateful.

TimothyAlexisVass: Think I'll have to learn Ruby to get to top 100 though...

BlaiseEbuth: Use abot, go top100, ezpz.

TimothyAlexisVass: abot?

BlaiseEbuth: *a bot

TimothyAlexisVass: How?

BlaiseEbuth: :zipper_mouth:

TimothyAlexisVass: :unamused:

TimothyAlexisVass: I care less about the position if it's cheating.

BlaiseEbuth: :see_no_evil: :speak_no_evil:

TimothyAlexisVass: When a challenge only shows first console.log in Standard Output Stream, is there anything I can do to show them all?

Stepan0806:

Default avatar.png WWFYMN: yo mama

Stepan0806: When will start fall challenge?

ProCoder03: last year, it was in november 11 - 15

ProCoder03: ig same dates...

eulerscheZahl: we don't even know if it will be a bot contest this time

ProCoder03: :scream:

BlaiseEbuth: console.error TimothyAlexisVass

Stepan0806: what else?

ProCoder03: what else, escape ??

eulerscheZahl: possible

eulerscheZahl: "The format of the challenge hasn’t been decided yet.

Consider this a global event for the community with many players joining for the competition, but also just for the fun of it!"

eulerscheZahl: https://forum.codingame.com/t/codingame-fall-challenge-2021-details-please/191792/6

Illedan: Pray for multiplayer

BlaiseEbuth: Sacrifice goats!

Illedan: Sure, where can I find the goats?

Illedan: Outside CG office?


nuII: does clash of code give any xps?

eulerscheZahl: not directly. it gives achievements like "play 50 clashes" that give XP

nuII: ok thanks, i was just wondering

SurenderHarsha: So i took a test for "get a job" here. Is it actually useful?

BlaiseEbuth: https://www.youtube.com/watch?v=LH-i8IvYIcg

eulerscheZahl: the link has "cg" at the end

MiyamuraIzumi: 2 months till the challenge

MiyamuraIzumi: I remember there's some saying that they really want a bot game

MiyamuraIzumi: and actually, I don't see if there is a different

MiyamuraIzumi: *there should be a different

Default avatar.png Gogovich: hey

MiyamuraIzumi: hello guys

Default avatar.png EvilSponge_50fc: hlo

Default avatar.png JustCoderAs: hi

TimothyAlexisVass: Thank you BlaiseEbuth

BlaiseEbuth: frmffm?

BlaiseEbuth: oh.

BlaiseEbuth: :thumbsup:

jacek: :thinking:

Stilgart: :thinking:

BlaiseEbuth: :thinking:

Tanvir: (╯°□°)╯︵ ┻━┻

**Tanvir hello

BlaiseEbuth: (╯°□°)╯︵ ɹıʌuɐ⊥

BlaiseEbuth: ┬─┬ノ( º _ ºノ)

Tanvir: :joy:

Default avatar.png Gogovich: how this chat is working do they put a random person together in group ?

BlaiseEbuth: Person? There's no such thing here.

Default avatar.png Gogovich: sorry am pretty new so thats why iasked

Wontonimo: this is everyone

Wontonimo: :wave:

Wontonimo: what brings you here Gogovich ? (the text is red because your name is in it, no other reason)

eulerscheZahl: this chat is for the entire website. you can chat with anyone online (if the other person also wants to chat)

jacek: you can chat even if the other person doesnt want to chat

BlaiseEbuth: Of course.

Default avatar.png Gogovich: ahh okey guys thx

Default avatar.png Gogovich: am really suprised that clash of code can be solved in one line of code while am making more than 10 lines

Default avatar.png Gogovich: xd

jacek: impossible!

The-matrix: that was fun

Default avatar.png Gogovich: yeah such a shame tbh:unamused:

The-matrix: ........

The-matrix: hwllo?

Default avatar.png Gogovich: mmm but how

Default avatar.png Gogovich: just how can we do it in one line

Default avatar.png Gogovich: it seems that i need to learn more about java to deal with

BlaiseEbuth: Removing line breaks.

Default avatar.png Gogovich: xd maybe

Default avatar.png sgt390: use python man it's 2021 xD

BlaiseEbuth: That deserve a ban...

The-matrix: lol

Default avatar.png Gogovich: yeah i know but my target now is java cuz the majority of companies are asking about that

The-matrix: how is every one?

Default avatar.png Gogovich: not bad mate

jacek: do companies really ask for clashes?

BlaiseEbuth: do companies really ask for java?

The-matrix: thats good

Default avatar.png Gogovich: :)

The-matrix: :relaxed:

MiyamuraIzumi: my company really ask for Java :D

Default avatar.png Gogovich: great

BlaiseEbuth: Companies these days...

MiyamuraIzumi: ofcouse if you apply for an inexperience, Java is optional, but Java is for work

Default avatar.png Gogovich: yes true , they ask about jee as well

The-matrix: i am groot

Default avatar.png Woldie: Hi guys, i'm needing your help please. i'm tying to solve Network cabling puzzle, but i don't pass every test and i don't know why

The-matrix: ok imma work on it too so i can help

The-matrix: omg

Default avatar.png Woldie: Nice, maybe go to private ?

The-matrix: can any one help us out with Network cabling puzzle

jacek: have you tried the forums

Default avatar.png Gogovich: am working on it too

CA3SAR: hey every1!

Illedan: hi

dreporter: hi

dreporter: can some om help me pass CODERS STRIKE BACK

Default avatar.png afrasiyab: hi bro, im in same problem too

Default avatar.png TheSpooN: how tf do I close this

BlaiseEbuth: alt+f4

jacek: :unamused:

Default avatar.png TheSpooN: thanks Blaise your answer opened my eyes

Default avatar.png TheSpooN: I will share it with others

jacek: he still has his mod genes

Astrobytes: oi

eulerscheZahl: alt+shift+q for closing is much more convenient. can be done without twisting your hand or using both hands

jacek: alt+f4 twists your hand?

jacek: :older_man:

eulerscheZahl: so does {

eulerscheZahl: stupid german layout

Illedan: Easier to rm -rf chrome

dreporter: hi im back

jacek: hello back

**PatrickMcGinnisII ²

jacek: hmm https://www.npr.org/sections/health-shots/2012/12/17/167255929/scientists-look-for-new-drugs-in-skin-of-russian-frog?t=1630750763413&t=1630787958489

BlaiseEbuth: Natural form of vodka I guess

Illedan: (╯°□°)╯︵ ┻━┻

BlaiseEbuth: (╯°□°)╯︵ uɐpǝןןI

BlaiseEbuth: ┬─┬ノ( º _ ºノ)

pardouin: hi, am I the only one experiencing bugs in CoC?

pardouin: the game won't launch

pardouin: oh, relaunch the page worked

pardouin: thankfully it's a shortest and 11min remaining ^^

Husoski: I've been having issues for a month now. Some of them have to do with CoC... :grinning:

Default avatar.png NIgga2: I'm starving

Kanata_Gao: sadge

Default avatar.png Noddern: xd

Default avatar.png Noddern: ohaio minasan

Default avatar.png Noddern: ayaya

Default avatar.png Niicide: I despise the crooked little smiles of them

Imsure1200q: :grinning:

Mr_BlueBird: https://www.youtube.com/watch?v=rwXatLhXTrc

Mr_BlueBird: my new youtube video

Default avatar.png a_loser: hey can you view mine https://www.youtube.com/watch?v=dQw4w9WgXcQ