aboutsummaryrefslogtreecommitdiff
path: root/codeforces/UltraFastMathmatician
diff options
context:
space:
mode:
Diffstat (limited to 'codeforces/UltraFastMathmatician')
-rwxr-xr-xcodeforces/UltraFastMathmatician/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/codeforces/UltraFastMathmatician/main.cpp b/codeforces/UltraFastMathmatician/main.cpp
index 83ef653..b096db4 100755
--- a/codeforces/UltraFastMathmatician/main.cpp
+++ b/codeforces/UltraFastMathmatician/main.cpp
@@ -1,15 +1,15 @@
-#include<bits/stdc++.h>
+#include <bits/stdc++.h>
using namespace std;
-int main () {
- ios_base::sync_with_stdio(false);
- cin.tie(NULL);
+int main() {
+ ios_base::sync_with_stdio(false);
+ cin.tie(NULL);
string s1, s2;
cin >> s1 >> s2;
- string ans="";
- for(int i = 0; i < s1.size(); i++) {
- ans+=((s1[i] - '0') ^ (s2[i] - '0') + '0');
+ string ans = "";
+ for (int i = 0; i < s1.size(); i++) {
+ ans += ((s1[i] - '0') ^ (s2[i] - '0') + '0');
}
cout << ans << endl;
}