java验证子串(indexOf方法) 摘要:解题思路:利用indexOf方法判断一个字符串是否是另一个的子串注意事项:参考代码:package ten;import java.util.Scanner;public class 验证子串 { …… 题解列表 2023年04月24日 0 点赞 0 评论 184 浏览 评分:9.9
2861: 验证子串(python) 摘要:解题思路:注意事项:参考代码:a = input().strip() # 注意把前导空格去掉 b = input().strip() if a in b: print("%s is s…… 题解列表 2023年02月24日 0 点赞 0 评论 243 浏览 评分:9.9
2861: 验证子串 输入用cin可以,用getline不行,不知道为什么 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori…… 题解列表 2023年02月22日 0 点赞 0 评论 225 浏览 评分:5.2