【字符串验证】验证码
【参考代码】
#include <iostream>
#include <cstring>
using namespace std; int main(){ string a ="AV8d";string b; cin >> b;for(int i=0; i<a.length(); i++){if(a[i]>='A' && a[i] <= 'Z'){a[i]+=32;}if(b[i]>='A' && b[i] <= 'Z'){b[i]+=32;}}if(a == b){cout<<"yes"; }else{cout<<"no";}return 0;
}