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.
Approved
All good to go, just
#include <string>
in both the sample and submission tests per the guidelines. Although<fmt/core.h>
definitely includes<string>
, ignore these transitive relations and explicitly list everything you need anywayApproved
Excellent stylistically and pretty much approve worthy, but I have two questions:
long
orlong long
get the input domain a bit closer to some of the other translations?Bloated premise imo.
This comment is hidden because it contains spoiler information about the solution
C++ Translation
Was already approved by someone
To anyone experiencing this,
console.log
your values instead and you'll probably figure out the quirk that's causing the comparison to failApproved
You are so full of yourself. You are in no position to tell people what they should and should not be proud of.
And who told you that OP, or anyone in this thread as a matter of fact, was a beginner? Everybody knows what 2.5x faster means. You didn't need to recite the entire hare and tortoise song-and-dance like you're talking to preschoolers. People know when they're being patronized, so have some tact.
Since you're so intent on quoting things, want me to leave off with something?
If LINQ is not a bottleneck, it is not a bottleneck. You are Dunning-Kruger personified.
The timeout issues you've experienced are because your algorithm is slow (most solutions finish in <= 1sec), otherwise yes I agree that the description could be more explicit about the desired shape of the cartesian products.
C++ Translation.
if you're talking about mine, not really. it doesn't spoil the task but i spoilered it on the side of caution since it mentions a library name
This comment is hidden because it contains spoiler information about the solution
Loading more items...