We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This problem is completely broken for language C#.
On STDIN they give you not the binary-encoded string, but the expected result...
Thus just this code successfully produces the correct resukts for all test-cases
???????
staticvoidMain(String[]args){/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */varline=Console.ReadLine();Console.WriteLine(line);}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Huffman Decoding
You are viewing a single comment's thread. Return to all comments →
This problem is completely broken for language C#.
On STDIN they give you not the binary-encoded string, but the expected result...
Thus just this code successfully produces the correct resukts for all test-cases
???????