亲和串 HDU
来源:互联网 发布:微信商城java源码下载 编辑:程序博客网 时间:2024/06/13 15:59
问题类型:一次性AC,string。
03pie’s solution for [HDU-2203]:
题目链接
#include<iostream> #include<string> #include<cstdio> using namespace std; int main() { string s1,s2; while(cin>>s1) { cin>>s2; s1=s1+s1; int ok=s1.find(s2); printf("%s\n",ok>=0?"yes":"no"); } return 0; }
0 0
- HDU 2203 亲和串
- HDU 2203 亲和串
- HDU - 2203 亲和串
- hdu 2203 亲和串
- hdu 2203 亲和串
- HDU 2203 亲和串
- HDU-亲和串-2203
- hdu 2203 亲和串
- hdu 2203 亲和串
- hdu 2203 亲和串
- hdu 2203 亲和串
- HDU 2203 亲和串
- HDU 2203【亲和串】
- hdu 2203 亲和串
- HDU 2203 亲和串
- hdu 2203亲和串
- HDU 2203 亲和串
- HDU - 2203 亲和串
- 手把手教你如何加入到github的开源世界!
- 自定义ScrollView的刷新加载
- 今天在写TableView的时候,懒加载了模型数组同时覆写了setter方法,报错了
- 文件下载
- (转)日积月累:ScrollView嵌套ListView只显示一行
- 亲和串 HDU
- iosblock
- 免安装版mysql安装流程
- [BZOJ 4197][Noi2015]寿司晚宴:状压DP
- POJ 2528 Mayor's posters (线段树&离散化&延迟更新)
- 计算机图形学——OpenGL渲染基础架构二之着色器的使用
- 查看并杀掉tomcat进程
- window和linux下Redis 安装和使用
- JAVA三层架构,持久层,业务层,表现层的简单理解