Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
that's what I thought !
It is not best practice to have infinite loop. It is better to have same if condition as loop condition and have return statement after while loop.
The two-dimensional
int
array could bebool
s instead, making this slightly more readable and lessening the impact of converting from a string (a one-dimensional char array).читается, просто вы еще не потратили много времени на кодирование
so no guard for num < 0, what happens if num < 0.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Random tests are completely broken:
I second this!!!
exactly , i don't know why people talking about negative values when your code is already pass the goal of the exercise/test
Depends what country you're in.
clever, I had same solution but did n * -1 instead of just -n. Good idea
Clever, but you mutated the list.
Переделывай - это хуйня не читаемая!
Loading more items...