hdu1020
来源:互联网 发布:js中window对象 编辑:程序博客网 时间:2024/05/16 12:13
#include <iostream>#include <string>#include <cstring>using namespace std;int T;string str;int _count[26];char cc;int main(){ cin>>T; while(T--) { cin>>str; memset(_count,0,sizeof(_count)); for(int i = 0;i < str.length(); i ++) { _count[str[i]-'A']++; } for(int i = 0; i < 26; i++) { cc= 'A'+i; if(_count[i]!=0) { if(_count[i] == 1) cout<<cc; else cout<<_count[i]<<cc; } } if(T!=1) cout<<endl; } return 0;}
- hdu1020
- hdu1020
- hdu1020
- HDU1020
- hdu1020
- hdu1020
- HDU1020
- HDU1020
- HDU1020
- HDU1020 Encoding
- hdu1020 Encoding
- HDU1020:Encoding
- HDU1020--- 编码
- Encoding(HDU1020)
- HDU1020 Encoding
- HDU1020 Encoding
- hdu1020 - Encoding
- hdu1020 Encoding
- 本地android developer document加载过慢
- Java多线程初学者指南(7):向线程传递数据的三种方法
- 动态创建FastReport4报表2 - 由cxGrid动态创建报表
- 独立电商没有明天
- RMAN catalog的还原与恢复
- hdu1020
- 配置ext4.1的eclipse的开发环境,主要是spket插件的使用
- 创建oracle索引时需要注意的7个事项
- vim 配置文件 ,高亮+自动缩进+行号+折叠+优化
- Android Bluetooth opp package 学习笔记
- Android源码导入eclipse
- 基本的数据类型和取值范围
- 解决Ext JS 4.1版本Tree在刷新时选择第一行的问题
- 网站与IE8不兼容的解决