题解列表

筛选

回文串-题解(C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char a[255] ; int len……

IP判断-题解(C++代码)

摘要:解题思路:算是贪心算法吧,当每个.前的格式符合规则,那么整串字符串也是符合规则的注意事项:1.求长度写成len=strlen(str);编译没办法通过   因为strlen()是用来求C风格字符串的长……