Ad
  • Custom User Avatar

    I'm kinda lost with the input format here. Looking at the test cases, I'm not really getting it. Is there like a ready-made object I should be using, or am I just missing something?

  • Custom User Avatar

    Fun kata, but why it has to be written as an method of object in C++?

  • Custom User Avatar

    Great kata in C++ but for other languages (like python) it can be a little too easy for a 6 kyu.

  • Custom User Avatar

    My first solution to C++ kata that is the same as any other solution <3

  • Custom User Avatar

    Do you remeber what was the problem? I have the same problem now and idk what's wrong.

  • Custom User Avatar

    I conducted the same test in my editor on my PC. I encrypted "This is a test!" and then decrypted it. I compared it (using ==) to the original value. They are the same, so I believe the issue does not involve white spaces.

    Edit: Nvm I performed the test above for n=0. It doesn't work for n>0. However, it's not the white spaces; I changed them all to underscores and there are none. So I don't have idea what's the problem. The only thing that comes to my mind is different encoding but I didin't changed it so idk why It would change itself.

    Edit 2: I've identified another issue and resolved it. Interestingly, this solution also solved the previous problem. However, I'm unsure why, as the program should have functioned correctly for the example provided in the earlier issue.

  • Custom User Avatar

    I don't know what I'm doing wrong. Encrypting wokrs fine but I get error in decrypting:

    Expected: equal to "This is a test!"
    Actual: "This is a test!

    It looks the same to me?
    Language: C++

  • Custom User Avatar

    Why should the solution be written as a class method rather than a regular function? In my opinion, it is unnecessary and creates unnecessary confusion. As someone who is just starting to learn C++, I spent more time getting the solution into the desired form than on the algorithm itself solving the task.

  • Custom User Avatar

    Very fun kata, a little to easy for 6kyu.

    Idk why people had a problem to understand the task. I didn't know what is a deadfish either but by looking at a description of kata and examples I didn't had to.

  • Custom User Avatar

    What is difference between Laint and katakana alphabet?

    It works fine on Latin alphabet so I dont have idea why it doesn't work on katakana

  • Custom User Avatar

    It's my favorite kata so far :D

  • Default User Avatar