Naive String Search
Find places where a string P is found within a text T. Print all indices of T where P found. The indices of T start with 0.
Time Limit | $1$ 秒/Second(s) | Memory Limit | $512$ 兆字节/Megabyte(s) |
提交总数 | $3$ | 正确数量 | $3$ | "
裁判形式 | 标准裁判/Standard Judge | 我的状态 | 尚未尝试 |
难度 | 分类标签 | STL |
Naive String Search
Find places where a string P is found within a text T. Print all indices of T where P found. The indices of T start with 0.
aabaaa
aa
0
3
4
1 ≤ length of T ≤ 1000
1 ≤ length of P ≤ 1000
The input consists of alphabetical characters and digits
本题记录 | 用 户(点击查看用户) | 运行号(点击购买题解) | 时 间 |
---|---|---|---|
算法最快[$0 $ms] | AOJ大管家 | 437190 | 2019-06-08 11:02:09 |
内存最少[$2172 $KB] | AOJ大管家 | 437190 | 2019-06-08 11:02:09 |
第一AC | 张莹俐 | 435489 | 2019-05-30 17:13:55 |
第一挑战 | 张莹俐 | 435489 | 2019-05-30 17:13:55 |
竞赛编号 | 竞赛名称 | 竞赛时间 | 访问比赛 |
---|