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; }
相关文章推荐
- 1076. Wifi密码 (15)——Python
- PAT1076. Wifi密码 (15)
- PAT (Basic Level) Practise (中文) 1076. Wifi密码 (15)
- PAT 乙级 1076. Wifi密码 (15)
- PAT乙级1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- 1076. Wifi密码 (15) PAT乙级真题
- 1076. Wifi密码 (15)
- PAT 1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- 1076. Wifi密码 (15)(C++)
- 乙级 PAT 1076. Wifi密码 (15)
- (python3)1076. Wifi密码 (15分)——2017-12考题
- 1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- PAT乙级1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- 1076. Wifi密码 (15)
- PAT乙1076. Wifi密码 (15)