-
Bio
http://html5.huceo.com/zhiwu/ #include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int x=0; string s1,s2,s3; cin>>s1>>s2; s3.resize(s1.size()); for(int i=0;i<s1.size();i++){ if(s1[i]!=s2[i]){ s3[i]='1'; } else{ s3[i]='0'; } } int s=1; int len=s1.size()-1; for(int i=len;i>=0;i--){ if(s3[i]=='1'){ x+=s; } s*=2; } cout<<char(x+96); return 0; }
-
Accepted Problems
-
Recent Activities
This person is lazy and didn't join any contests or homework.
Problem Tags
- 基础算法
- 40
- C++语法
- 15
- 一本通
- 13
- 排序
- 10
- 入门
- 10
- 递推递归
- 9
- 分治
- 7
- 蓝桥杯
- 6
- 高精度
- 4
- 数据结构
- 4
- 贪心
- 3
- 模拟算法
- 3
- 深度优先搜索
- 2
- 栈
- 2
- 前缀和与差分
- 2
- 枚举算法
- 2
- 队列
- 2
- 2018
- 1
- CSP-J
- 1
- 一本通编程启蒙
- 1