Chat:World/2021-09-02

From CG community
Revision as of 05:29, 3 September 2021 by Chat Log (talk | contribs) (Created page with "<img src=/a/68535064332353> WolfSasiain: Hello, i have a question about the puzzle "How time flies", the 3th test case is wrong? my program count 1 year, 15 month but the case...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WolfSasiain: Hello, i have a question about the puzzle "How time flies", the 3th test case is wrong? my program count 1 year, 15 month but the case says there are 3 month between 01/11/2015 and 01/02/2017. Some one knows how can i report the error?

WolfSasiain: nothing, I just understood the problem xDDD

MiyamuraIzumi: hello guys

mr_ayush_kumawat: Hey There

Joghurtpriester: General Kenobi

derjack: good morning

Default avatar.png pypypy9: sop

Default avatar.png UndisclosedTaxidermist_3cbd: im struggling on temperatures

Default avatar.png robloxs: hi

ProCoder03: how to see who are all are there in your school ??

Uljahn: ProCoder03: try this https://www.codingame.com/leaderboards/general/global?column=schoolcompany&value=SAME

ProCoder03: Thanks Uljahn

Sumit-coder: in python for accessing array from back we do [:1] and how we can do it in JS

eulerscheZahl: how is that python sample doing anything from the back? '12345'[:1] just returns '1'

Magus: Sumit-coder: myArray[myArray.length - 1]

Magus: javascript doesn't have any other way for the moment

eulerscheZahl: even C# has array[^1] to access the last item

jdsigg: You can do array.pop() if you don't care about preserving the array

Another concise way, but without modifying the array, is array.slice(-1)[0]

jdsigg: can't do much better, I think. Could be wrong, but I gravitate towards those two solutions depending on my needs.

Magus: array.reverse()[0] works too

Magus: but no efficient

Default avatar.png AryanSilswal: Has anyone worked on knights tour problem

piratas: how do you guys debug minor issues in string formatting where your string looks exactly the same but there's a found "\n" expected "nothing" error or something similar?

piratas: its a figlet like string so hard to see where the issue can be, is there some sort of setting to see line number as well?

Default avatar.png OliverC: @AryanSilswal

Default avatar.png OliverC: I did that one earlier

Default avatar.png OliverC: It's just a 2D binary search

Default avatar.png lactose: where is debug mode? i don't see it in settings like it says it should be

eulerscheZahl: which game/puzzle lactose?

eulerscheZahl: there should be a gear icon under the replay viewer

Default avatar.png lactose: im on the pod racing in the beginning of the AI track

Default avatar.png lactose: oh i see it

eulerscheZahl: coders strike back. that one definitely has a debug view

Default avatar.png lactose: there are 3 different gear icons lol had me confused

eulerscheZahl: the chat gear?

Default avatar.png lactose: and all the way on the left

eulerscheZahl: i see :D

Default avatar.png lactose: in the side bar menu

eulerscheZahl: the editor settings

Default avatar.png lactose: is there a way to print out debug info without having it be the actual output?

Default avatar.png bluethrush: raise an exception

eulerscheZahl: there is the way that makes your bot say it in a speech bubble

eulerscheZahl: and with stderr

eulerscheZahl: Console.Error in C# or whatever the equivalent in your language is

Default avatar.png Layloops: Hey wassup

Default avatar.png Layloops: :grin:

struct: hi

Astrobytes: struct, welcome back!

struct: thanks

Astrobytes: how's things?

struct: +-

Astrobytes: gotcha, just take it easy

jacek: did you know amazons was potw?

struct: No, but I knew it would be

struct: (i had a feeling it would be potw)

jacek: pow!

BlaiseEbuth: Potatoe Of Wonder!

Husoski: I see someone has mastered the Dan Quayle Spelling Primer.

Astrobytes: Hah!

Mohammed_Galal: Hello Hello

chop-chop: ...___...

Westicles: Neat tool here

Westicles: https://chadok.info/codingame/leaderboard_languages.html

Default avatar.png StevenV: hello guys

Default avatar.png StevenV: when will the rank be recompute?

Mohammed_Galal: hello

Default avatar.png StevenV: I mean the daily rank

struct: At 1:00 am french time

Default avatar.png StevenV: thank you

magus2: On the quest map, I did the Clash of Code (2/2), but the next location on the map does not open up.

jacek: did you click for the exp

magus2: ah,:)

magus2: thx

struct: I see that MSmits lost rank 1 on yavalath o.o

jacek: oO

struct: vs royale

struct: I guess NN

jacek: not-yet-booked NN, that is

struct: still i would not expect his bot to lose in 14 turns

Wontonimo: :book: vs :book:

jacek: well it could be 16 turns but he gives up when he sees loss

struct: yeah

struct: different kinds of books though

jacek: books vs ebook

HungryRabbit: what bot is that

Default avatar.png AtomicLlama_13b6: do we need the 4 kinematic equations for the Mars Lander -Esp2 problem???