We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
It would be great to have at least C# 9 here... To avoid long irrelevant lines of code, such as declaration of collections with
new() without specifying a type which can be pretty long if it is a
Dictionary, for example...
Yea i just started again with codingame and took a nice very hard puzzle.
Within my job i started loving working with the new record types. Im kinda frustrated bc. i wrote my code in VS and now after pasting it into codingame i just realized that it doesnt work with records -.- records came with c#9 and c# is only version 8 within codingame.
I think ill stop this now, i dont want to work with "crippled" tools...
EDIT: Plus i am missing nullable contexts...
wow this is cool
How on Earth can I add a coding language to my account?!! I've been trying for the past 30 minutes and have only come to web pages that no longer exist. All I want to do is add C#!
You'll find that option under "Settings" available from the menu under your profile username at the Top-Right of the page.
Under settings, scroll to "I'm skilled in" settings: https://uploads.disquscdn.c...
Hope this helps.
Last Updated: 26-01-2023
How do I create a validator?
a validator is just a regular test. If you're creating a puzzle using the platform directly, you add tests by pairs: the IDE test and its corresponding validators. With the SDK, it's a bit different
Hello Thibaud, Just wanted to know whether validator is visible to the user or not.
If it is hidden than is it used as a separate test of the user's code after submission
Validators are not visible. It's indeed a separate test only used for checking the user's code at submission
what's the example code for making tests and creating validators, in Python?
typo: heard -> head
Hello everyone! I am a new learner here, can anyone teach me how to actually use advance code?
Is there a way to customize my profile url on codingame?
In C++, can candidates add to the #include statements? Thanks.
Is there a way to bypass "short code mode" clashes? Removing all spaces in your code to shorten it is horrible practice, but that's what this mode encourages.
I'd love to see J implemented. I'd be a regular contributor.
hello my friends
Hi every body
is it possible to participate in several teams?
no, it's not possible. Would probably be boring to replay the same mission
On CoC: Binary outputs should be avoided in CoC.
I don't think this makes any sense. If anyone really wants to solve the problem by binary searching for the hidden values on 7 validators and giving the right output, I think they have done more work than actually solving the problem. This is double true considering that these are CoC rules, not puzzles.
Many problems are naturally posed as binary and better left that way. A better rule would be "binary outputs should be accompanied by many test cases" or something.
print(True) may give more than 50% scores.
they mean binary outputs such as outputting `true` or `false` only
binary is anything made out of 2, not necessarily binary counting
The player's id should be 0.",how to handle that in multiplayer game ?
Should we transform index to players relative position to make them always appears as 0, and transform back their index in their output to retrieve the real index ? (I tried, it works but displays the relative index in game output so other players see this when playing game)
Or we should ignore and tell to the player with index he is ?
I looked at the "Chip poker race" multiplayer game, it tells to the player which index he is, so I'll follow this for now
Yes, first option is better.
When can we expect C# 10 with .NET 6 support?