题解列表
c++ 400ms以内
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; for (i……
邪修xxxxxxxxxxxxxxxx
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb……
[编程入门]自定义函数之数字后移
摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb……
Manacher算法O(n)时间复杂度求解回文子串
摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递……
T1244-和为给定数
摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n,m; int x; scanf("%d",&n)……
T1244-和为给定数
摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n;  ……