You are viewing a single comment's thread. Return to all comments →
Hi, I'm having the same problem with Python 2. If I just implement the function:
def decodeHuff(root , s):
Your code did not pass this test case.
Input (stdin)
ABACA Your Output (stdout)
~ no response on stdout ~
Expected Output
ABACA Compiler Message
The comment above the function is also confusing - it asks for input from STDIN, but the input is from s.
Thanks.
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 →
Hi, I'm having the same problem with Python 2. If I just implement the function:
Enter your code here. Read input from STDIN. Print output to STDOUT
def decodeHuff(root , s):
I got this error when running it:
Your code did not pass this test case.
Input (stdin)
ABACA Your Output (stdout)
~ no response on stdout ~
Expected Output
ABACA Compiler Message
Terminated due to timeout
The comment above the function is also confusing - it asks for input from STDIN, but the input is from s.
Thanks.