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 line (the one you've copied and pasted) should read
assert_not_eq([3, 1000], random_ints)
. I'm not exactly sure why it hasn't updated for you, because it works for me. Can you try refreshing the page?Ah yes, sorry about that; it's fixed now.
Could you please paste your code here and mark it as a spoiler?
from the description: "duration is expressed as a combination of years, days, hours, minutes and seconds." so "weeks" aren't a valid unit of time here.
Nice, but this works as normal when the methods are called in the wrong order -- when it actually shouldn't.
yes, fixed.
i'm not going to give anything more away; check again that you're using the quadratic formula correctly and also check that your values for v and h0 are correct.
the coefficient for t^2 should be -16.
I don't want to give too much away but here is one hint: all you have is the height (0 ft). Which of the two equations can you solve to get the value of one more variable? And then what can you do with that variable to find the last one?
2sin(45°) is not 1.701, it is 1.414. 2sin(45 radians) is 1.701, so that's where your mistake lies. 45 radians is very very different from 45 degrees.
C#, yes? Fixed now.
fixed.
found the issue, will fix shortly; the starting velocity should just never be 0 as shown in the description but the range of the random number generator is (incorrectly) inclusive of 0.
everything is meant to be rounded to 3 decimal places, except integers as is said in the description.
Crystal translation is virtually identical to the Ruby translation; awaiting approval.
Yes, but this solution simply was submitted to highlight the limitations of the tests.
Loading more items...