mirror of
https://github.com/tiennm99/codeforces.git
synced 2026-06-09 16:13:53 +00:00
[Init] Solved solutions
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
string s1, s2;
|
||||
cin >> s1 >> s2;
|
||||
for (unsigned int i = 0; i < s1.length(); i++)
|
||||
{
|
||||
if (s1[i] == s2[i])
|
||||
{
|
||||
cout << 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user