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.
- XOR Strings 2
- Discussions
XOR Strings 2
XOR Strings 2
Sort by
recency
|
255 Discussions
|
Please Login in order to post a comment
why no c#
This below code will work for c++11 .
using namespace std;
string strings_xor(string s, string t) {
}
int main() { string s, t; cin >> s >> t; cout << strings_xor(s, t) << endl; return 0; }
bruh what happend to hankerrank it feels like a cheap website it wasn't like this before the code isn't working
import java.io.; import java.util.;
public class Solution {
}
omg. for JAVA you need to go to java 7 and dont touch anything else, but the 3 places that need to be fixed!
we need to report somehow such awful exercises
for i in range(len(s)): if s[i] == t[i]: res += "0" else: res +="1"