Sort 5 Discussions, By:

Sorry, you do not have a permission to answer to this question.

  • midnightslacker 10 years ago + 0 comments

    If your code passes the test case, and then fails the subsuquent input, there is no feedback from the problem (i.e. why did fail? Where there errors? What input is being tested? etc...)

    How do we get feedback when our code passes the test case, but fails the subsequent tests, besides the obligatory "Wrong Answer"

    Add Reply Preview cancel

    Sorry, you do not have a permission to answer to this question.

    • zleblanc 10 years ago + 1 comment

      I don't understand why I can have a completely correct algorithm for testing this, get the answer right through all conversions, and still get 0 points? I convert everything to binary correctly and then XOR the key and ciphertext to get the plaintext. I'm a cryptologist so I know that's how it's done.

      Add Reply Preview cancel

      Sorry, you do not have a permission to answer to this question.

      • dheeraj Challenge Author 10 years ago + 2 comments

        @zleblanc,

        you are probably new to the site. Cipher Key and Cipher Text is given as input to your code. Read those from STDIN standard input and then print the decoded text.

        Right now, you are just hardcoding the sample input and sample output values to your code.

        Add Reply Preview cancel

        Sorry, you do not have a permission to answer to this question.

        • zleblanc 10 years ago + 0 comments

          Yes, I am new here. I cannot find STDIN on the problem page :/

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

          • zleblanc 10 years ago + 0 comments

            Oh never mind I figured it out! The code just had to be set to take any input and still decipher. Thanks! +30 points

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

        • rameskum 10 years ago + 0 comments

          Read input from STDIN. Print output to STDOUT. What does this means? Can it be more descriptive?

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

          • Arqam 10 years ago + 0 comments

            Is it just me who is getting run time error on other cases after passing the sample test case. Is there any way in HackerRank where I could know the line number of the debugger for my RTE?

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

            • miniman77 10 years ago + 1 comment

              can you include a step-by-step explanation of how decrypted text is hackerrank?

              Add Reply Preview cancel

              Sorry, you do not have a permission to answer to this question.

              • dheeraj Challenge Author 10 years ago + 0 comments

                That spoils the purpose of solving the challenge.

                Add Reply Preview cancel

                Sorry, you do not have a permission to answer to this question.

              1. Challenge Walkthrough
                Let's walk through this sample challenge and explore the features of the code editor.1 of 6
              2. Review the problem statement
                Each challenge has a problem statement that includes sample inputs and outputs. Some challenges include additional information to help you out.2 of 6
              3. Choose a language
                Select the language you wish to use to solve this challenge.3 of 6
              4. Enter your code
                Code your solution in our custom editor or code in your own environment and upload your solution as a file.4 of 6
              5. Test your code
                You can compile your code and test it for errors and accuracy before submitting.5 of 6
              6. Submit to see results
                When you're ready, submit your solution! Remember, you can go back and refine your code anytime.6 of 6
              1. Check your score