POJ 1936 ALL IN ALL 字符串
来源:互联网 发布:自学编程入门教材 编辑:程序博客网 时间:2024/06/03 18:02
#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char strs[100001],strt[100001]; int slen,tlen,i,j; while(scanf("%s %s",strs,strt)!=EOF) { slen=strlen(strs); tlen=strlen(strt); for(i=0,j=0;i<slen,j<tlen;j++) { if(strs[i]==strt[j]) { i++; } } if(i==slen) printf("Yes\n"); else printf("No\n"); }return 0;}
- POJ 1936 All in All 字符串 水题
- POJ 1936 All in All 字符串处理
- POJ 1936 ALL IN ALL 字符串
- poj 1936 All in All (字符串处理)
- POJ 1936 All in All 字符串匹配
- poj 1936 "all in all"
- poj 1936 All in All
- POJ 1936 All in All
- poj 1936 All in All
- POJ 1936 all in all
- POJ 1936 All in All
- POJ 1936 All in All
- POJ 1936 All in All
- POJ-1936-All in All
- poj 1936 all in all
- poj 1936 All in All
- POJ 1936 All in ALL
- poj 1936 All in All
- (转)10个超棒的Android开源项目推荐
- 程序开发人员的思维导图
- 关于petitfatfs的移植问题
- 【转载】详解大端模式和小端模式
- 项目1任务二
- POJ 1936 ALL IN ALL 字符串
- [Euler]Problem 36 - Double-base palindromes
- hdu 4160 Dolls 匈牙利算法求最大匹配
- 杭电acm1003
- 结合硬件的发展史,谈谈你对计算机硬件发展趋势的看法?
- java面试题经典20例
- 黑马程序员_交通灯管理系统
- 【C#.NET】ASP.NET中实现页面间的参数传递 QueryString\Application\Session\Cookie
- Drawable Shape