Chat:World/2021-09-04
struct: gn
jacek: happy Caturday
struct: hi
Marchete: happy Caturday
Siekay: i wanna try the cooperation game... anyone to join?
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
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
Maxim251: http://chat.codingame.com/pastebin/1318571f-56c0-4030-a901-28512fa1ca96
eulerscheZahl: C++?
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
Maxim251: Yes, but that is integer input, My goal was to find out if I can store enum and use it for switch
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!
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
jacek: what is this heresy
Maxim251: only "type" must be casted to int
BlaiseEbuth: No.
BlaiseEbuth: You don't need any cast
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:
eulerscheZahl: if you ignore the error and try it anyways?
eulerscheZahl: IDE highlighting and actual compiler result may differ
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
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...
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
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:
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
MiyamuraIzumi: hello guys
TimothyAlexisVass: Thank you BlaiseEbuth
BlaiseEbuth: frmffm?
BlaiseEbuth: oh.
BlaiseEbuth: :thumbsup:
jacek: :thinking:
Stilgart: :thinking:
BlaiseEbuth: :thinking:
Tanvir: (╯°□°)╯︵ ┻━┻
**Tanvir hello
BlaiseEbuth: (╯°□°)╯︵ ɹıʌuɐ⊥
BlaiseEbuth: ┬─┬ノ( º _ ºノ)
Tanvir: :joy:
Gogovich: how this chat is working do they put a random person together in group ?
BlaiseEbuth: Person? There's no such thing here.
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.
Gogovich: am really suprised that clash of code can be solved in one line of code while am making more than 10 lines
jacek: impossible!
The-matrix: that was fun
Gogovich: yeah such a shame tbh:unamused:
The-matrix: ........
The-matrix: hwllo?
Gogovich: just how can we do it in one line
Gogovich: it seems that i need to learn more about java to deal with
BlaiseEbuth: Removing line breaks.
sgt390: use python man it's 2021 xD
BlaiseEbuth: That deserve a ban...
The-matrix: lol
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?
jacek: do companies really ask for clashes?
BlaiseEbuth: do companies really ask for java?
The-matrix: thats good
The-matrix: :relaxed:
MiyamuraIzumi: my company really ask for Java :D
BlaiseEbuth: Companies these days...
MiyamuraIzumi: ofcouse if you apply for an inexperience, Java is optional, but Java is for work
Gogovich: yes true , they ask about jee as well
The-matrix: i am groot
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
Woldie: Nice, maybe go to private ?
The-matrix: can any one help us out with Network cabling puzzle
jacek: have you tried the forums
Gogovich: am working on it too
CA3SAR: hey every1!
Illedan: hi
dreporter: hi
dreporter: can some om help me pass CODERS STRIKE BACK
afrasiyab: hi bro, im in same problem too
TheSpooN: how tf do I close this
BlaiseEbuth: alt+f4
jacek: :unamused:
TheSpooN: thanks Blaise your answer opened my eyes
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 ²
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:
Kanata_Gao: sadge
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
a_loser: hey can you view mine https://www.youtube.com/watch?v=dQw4w9WgXcQ