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.
I have checked multiple times, my logic is correct, the output I am printing is also correct but compiler says wrong answer. Any idea?
Compiler Message:
Wrong Answer
Input (stdin)
10101
00101
Your Output (stdout)
10000
Expected Output
10000
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
XOR Strings 2
You are viewing a single comment's thread. Return to all comments →
I have checked multiple times, my logic is correct, the output I am printing is also correct but compiler says wrong answer. Any idea? Compiler Message: Wrong Answer Input (stdin) 10101 00101 Your Output (stdout) 10000 Expected Output 10000