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.
I don't think it's a browser issue. For some reason, it's displayed as
109
in a trainer URL (kata/abcd/train/your_language
), but as10⁹
in the main kata page (kata/abcd/
). It goes back to10⁹
if you select another language while in the trainer (probably because the markdown gets re-parsed in case there are conditional code blocks etc.). This happens to me on both Firefox and Chromium. Perhaps using pure Markdown like`$10^9$`
would work betterYes, I see it as 10 to the power of 9 in Chrome. If you inspect the code, it's written as
10<sup>9</sup>
Maybe the problem is it's also inside some<code>
tags and Edge can't process that?1e9 and 109 are equivalent.
Values will always be >= 1.
Yes, but with meaningful method and parameter names like
race
,v1
,v2
andg
and no tests covering int overflows I personally wouldn't expect foolproof solutions here. ;-)No answer so I consider the issue as resolved.
Sorry but I don't understand your problem. I just tried a few solutions (yours included) and they work. I don't see any "Reserved word 'function' used as name" The tests have the same form as my other TS translations that you passed. Why is static problematic? You said that the code doesn't compile but you passed.
Please could you be more precise?
It's supposed to be confusing. That's what test writing is for. It's not meant to be "funny". Thanks for the feedback.