插入数组题比较插入数大小就行了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a[10]; …… 题解列表 2025年11月06日 0 点赞 0 评论 168 浏览 评分:0.0
c++ 400ms以内 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; for (i…… 题解列表 2025年11月06日 0 点赞 0 评论 87 浏览 评分:0.0
二维数组直接解了 摘要:解题思路:二维数组,for循环嵌套注意事项:不要把值输错了,只能在for循环内进行,其实就是颠倒行 和 列参考代码:#include<iostream>using namespace st…… 题解列表 2025年11月06日 0 点赞 0 评论 75 浏览 评分:0.0
邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 77 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 1 点赞 0 评论 86 浏览 评分:10.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 108 浏览 评分:10.0
Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 101 浏览 评分: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 评论 94 浏览 评分:0.0