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.
Notice that the first name of the given list,
Sevap
ends up in seat#10
? This is because that's the seat in theWindowsill
corner, that of the feature most desired by those family members whose last name starts with a letter in the the ancient nameSSSSSSSSS
. Every other member of this particular test, all starting withS
will then sequentially get a seat as close to there as possible.the first word used is "flap" (the given word)
bob uses "clap" (now this is a used word also)
alice can't use "flap"; as it was already used
There is no "codewars compiler". It's just Clang. You can find more info about C++ runtime here: https://docs.codewars.com/languages/cpp
Hi there.
The C++ translation has been around for ~5 years, and successfully completed 75 times so far. There may be some issues, but none related to the compiler or giving incorrect results (to my knowledge).
Being the author of this kata, I can see your current code, so I copied it and ran it. For the message
"D=b*b-4*a*c"
, the expected result is"#3****#22*-22**4-*-2*-222"
, but your code returned"#3****#222222**4-4-22222"
. I can immediately see that there is an issue with this result: after typingD=
("#3****"
), you're correctly switching to lowercase, but then you're clicking button2
6 times, when only 2 are required to output letter"b"
.Make sure to debug your solution. On CodeWars, you can print things to console and they will show up. You can get more tips by reading this article: https://docs.codewars.com/training/troubleshooting
Let me know if you have any other questions related to this.
I'm not sure I understood your question :/ To type
*
, you have to hold the button (*-
). If you're asking about which buttons are on that sign, it's'-+=
(shown in diagram). If you have any questions, it would be faster/easier for me to answer on Discord.finally
You, sir, win the internet :)
bob has a
plan
for thatNOBODY WILL EVER WANT TO ANSWER TO YOU IF YOU KEEP SCREAMING LIKE THAT!!!
The code terminates when it reaches the last word of the string. (i.e, all comparisons with previous neighboring word have been done)
OP solved it, closing
The moves do not occur for substrings having equal sizes.
You might have seen the test case below and got confused.
But, we start comparing from the 2nd word (1st-index) with the 3rd word (2nd-index). Clearly, the 2nd word is shorter than the 3rd, so we swap their positions. Kindly refer to the example in description for clarity.
you might be trying to convert empty string to number. I had same issue.
you cannot request language versions with suggestions, it's not how it works. someone with proficiency in the target language has to devote some of their time to make a translation; it's volunteering work
Not a kata issue. See https://docs.codewars.com/training/troubleshooting/#post-discourse.
Come on, you've already been told to stop it.
Loading more items...