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.
dude this is baller
Yes,m that's less typing, but it seems bad practice to me. As mentioned above, it's not the same as floor. And even if it works in this situation it makes the code harder to maintain and less reusable.
usually a bad practice to use pad as global scoped var
very nice
It did say max input won't exceed 359999 it does not say the function shouldn't be able to handle larger numbers
This comment is hidden because it contains spoiler information about the solution
can anyone explain to me the purpose of this line in this code
"if (line.indexOf(' ') >= 0)"
i know what is indexof. but not in this code
when i tested this code without that line, it gaves me Timeout
let's suppose seconds are equal 60.
So 60 / 60 = 1.
Then 1%60 = 1.
That gives us 1 second.
This comment is hidden because it contains spoiler information about the solution
HH = hours, padded to 2 digits, range: 00 - 99
range = you should respect ^^
EZ
That's a given, not something you should enforce.
Could you explain the 60 % 60?
Expected here saw somthing more cute🙄
spoiler flag, damn you...! x/
Loading more items...