Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 135 浏览 评分:10.0
T1244-和为给定数 摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n,m; int x; scanf("%d",&n)…… 题解列表 2025年11月05日 0 点赞 0 评论 110 浏览 评分:0.0
T1244-和为给定数 摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n;  …… 题解列表 2025年11月05日 0 点赞 0 评论 101 浏览 评分:0.0
C++:ctrl c ctrl v 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 221 浏览 评分:0.0
CCCCCCCCCCCCCCCCCCCCCCCC++++++++++++++++++++++++++++++++++ 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 198 浏览 评分:0.0
简单易懂小代码,两个循环解决问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h, w; char str1[] = {'…… 题解列表 2025年11月05日 5 点赞 0 评论 247 浏览 评分:10.0
二分法求函数的零点 摘要:#include<stdio.h>#include<math.h>double target = 1e-7;double f(double x){ r…… 题解列表 2025年11月05日 0 点赞 0 评论 113 浏览 评分:0.0
Py2761-Hello, World!的大小 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=create_string_buffer(b"Hello,…… 题解列表 2025年11月05日 0 点赞 0 评论 76 浏览 评分:0.0
Py2796-输入输出练习之浮点数专题 摘要:解题思路:注意事项:参考代码:n=float(input())print(f'{n:f}\n{n:.5f}\n{n:e}\n{n:g}')…… 题解列表 2025年11月05日 0 点赞 0 评论 120 浏览 评分:0.0
2878:计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:一:比较笨的方法#include<stdio.h>int main(){ int arr[100][100]; &nbs…… 题解列表 2025年11月05日 1 点赞 0 评论 148 浏览 评分:10.0