周期串and Hongcow Learns the Cyclic Shift
来源:互联网 发布:js 判断对象未定义 编辑:程序博客网 时间:2024/06/03 21:18
周期串
时间限制:1000 ms | 内存限制:65535 KB
难度:1
- 描述
一个字符串可以由长度为k的字符串重复多次得到,我们说该串以k为周期,例如abcabcabcabc 以3为最小周期(注意它也可以以6和12为周期)
我们输入一个不超过200的串,输出它的最小周期(字符串区分大小写)
- 输入
- 有多组测试数据,每组输入一个字符串
- 输出
- 输出相应字符串的最小周期
- 样例输入
abcabcabcabcabcd
- 样例输出
34
- 来源
- 入门经典
- 上传者
- TC_李苗
0 0
- 周期串and Hongcow Learns the Cyclic Shift
- cf Hongcow Learns the Cyclic Shift
- A. Hongcow Learns the Cyclic Shift #385
- A. Hongcow Learns the Cyclic Shift
- 【codeforce745A】Hongcow Learns the Cyclic Shift
- 745A Hongcow Learns the Cyclic Shift
- Hongcow Learns the Cyclic Shift CodeForces
- 【67.24%】【codeforces 745A】Hongcow Learns the Cyclic Shift
- CodeForces 745A Hongcow Learns the Cyclic Shift
- 745 A. Hongcow Learns the Cyclic Shift codeforces
- Codeforces Round #385 (Div. 2)A.Hongcow Learns the Cyclic Shift【暴力】水题
- Codeforces Round #385 (Div. 2) 745A Hongcow Learns the Cyclic Shift
- Codeforces Round #385 (Div. 2) A. Hongcow Learns the Cyclic Shift
- codeforce708A-Letters Cyclic Shift
- A. Letters Cyclic Shift
- codeforces 708A - Letters Cyclic Shift
- 【codeforces709C】Letters Cyclic Shift——小水题
- CodeForces A. Letters Cyclic Shift【字符串】
- 标签的嵌套
- Cookie/Session机制详解
- SSH框架环境搭建
- SharePoint 2016 企业项目管理应用(一,基础安装配置)
- iOS -- 多线程编程
- 周期串and Hongcow Learns the Cyclic Shift
- jmeter第一次使用
- 用自定义view------一用canvas来画图形.
- docker registry push错误“server gave HTTP response to HTTPS client”
- GitHub相关
- 测试代码
- 一套完整的UI设计规范手册(Android版)
- xcode真机调试包(持续更新,最新10.3)
- js金额的格式化效果