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