您的位置:首页 > 其它

1076. Wifi密码 (15)

2017-12-16 21:33 357 查看
1076. Wifi密码 (15)

#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
string password;
cin>>n;
while(n--)
{
int k=4;
while(k--)
{
string str;
cin>>str;
if(str[2]=='T')
password+=str[0]-'A'+'1';
}
}
cout<<password<<endl;
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: