Attribute Parser

  • + 1 comment

    Hi, How did you know the content of the test cases? And without the tilde how did the test cases specify the attribute name after a tag?

    • + 2 comments

      It's simple. Use your hackos to buy the test cases. One test case costs you 5 hackos.

      • + 1 comment

        How? Could you point out how to do this? Many thanks.

        • + 1 comment

          First you should have enough hackos to buy test cases (5 hackos/ testcase). Too see how many hackos you have currently, click on your login ID on the top right corner.You can click on 'Hackos' hyperlink to learn more about how to earn and use these hackos.

          Now suppose that you have submit your solution and got some test cases which are failed. Move your mouse over a failed test case, you should see a popup message. Click the 'Download' hyperlink and you will see 'Purchase TestCase' window. Click yes to buy it. Then you will see 'Download TestCase' window. Click 'Input' or 'Output' to download the content of Input or Expected Output data respectively. Hope this helps.

          • + 1 comment

            Oh crud... I thought you earned 5 hackos by running your submitted code against a special "hidden" test case. Gees... I wonder how much I've wasted.

            Thanks!

            • + 1 comment

              here is solution of problem Attribute Parser in c++ programming https://solution.programmingoneonone.com/2020/06/hackerrank-attribute-parser-solution-c-plus-plus.html

              • + 0 comments

                Don't paste links of the answer .

      • + 0 comments

        the attribute without ~ should not be printed right???