hdoj1860
来源:互联网 发布:ubuntu安装ibus 编辑:程序博客网 时间:2024/05/29 16:00
#include <stdio.h>
#include <string.h>
int main(int argc, char* argv[])
{
char small[6];
char big[81];
char *pbhead,*pb,*ps;
int c;
gets(small);
while(strcmp(small,"#") != 0)
{
gets(big);
ps = small;
pbhead = pb = big;
while(*ps != '/0')
{
for(pb = pbhead,c=0; *pb != '/0';pb++)
if(*ps == *pb)
c++;
printf("%c %d/n",*ps,c);
ps++;
}
gets(small);
}
return 0;
}
- hdoj1860
- hdoj1860
- hdoj1860
- hdoj1860统计字符
- Source code license
- vc读写xml
- Ant 基础
- ASP.NET 中常用的Session问题
- 数据库优化
- hdoj1860
- 文件按二进制流下载
- Managing APN Settings on Google Android
- 关于Micro2440配置内核驱动模块make menuconfig的问题备忘
- 【软件推荐】集tftp client、Server、syslog功能于一体的绿色软件tftpd32.exe
- Android App 调用自带浏览器
- SqlServer数据库置疑的解决办法
- Iphone tableViewa
- How to Best Use Collaboration IT