C++:ctrl c ctrl v 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 445 浏览 评分:0.0
T1244-和为给定数 摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n;  …… 题解列表 2025年11月05日 0 点赞 0 评论 264 浏览 评分:0.0
T1244-和为给定数 #includeintmain(){intarr[100001]={0};intn,m;intx;scanf("%d",&n);for(inti=0;i 题解列表 2025年11月05日 0 点赞 0 评论 276 浏览 评分:0.0 Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 412 浏览 评分:10.0 求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 579 浏览 评分:10.0 [编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 2 点赞 0 评论 567 浏览 评分:10.0 邪修xxxxxxxxxxxxxxxx 解题思路:注意事项:参考代码: 题解列表 2025年11月06日 0 点赞 0 评论 301 浏览 评分:0.0 邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 360 浏览 评分:0.0 二维数组直接解了 解题思路:二维数组,for循环嵌套注意事项:不要把值输错了,只能在for循环内进行,其实就是颠倒行和列参考代码:#includeusingnamespacestd;intmain(){inta[3][3];for(inti=0;i<3;i++){//i控制行for(intj=0;j 题解列表 2025年11月06日 0 点赞 0 评论 387 浏览 评分:0.0 c++ 400ms以内 解题思路:注意事项:参考代码:#includeusingnamespacestd;intmain(){intn;cin>>n;for(intj=1;j<=n;j++){intsum=0;for(inti=1;i<=j/2;i++){if(j%i==0){sum+=i;}}if(su 题解列表 2025年11月06日 1 点赞 0 评论 425 浏览 评分:0.0 « 12...5829583058315832583358345835...59075908 »
Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 412 浏览 评分:10.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 579 浏览 评分:10.0
[编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 2 点赞 0 评论 567 浏览 评分:10.0
邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 360 浏览 评分:0.0
二维数组直接解了 解题思路:二维数组,for循环嵌套注意事项:不要把值输错了,只能在for循环内进行,其实就是颠倒行和列参考代码:#includeusingnamespacestd;intmain(){inta[3][3];for(inti=0;i<3;i++){//i控制行for(intj=0;j 题解列表 2025年11月06日 0 点赞 0 评论 387 浏览 评分:0.0
c++ 400ms以内 解题思路:注意事项:参考代码:#includeusingnamespacestd;intmain(){intn;cin>>n;for(intj=1;j<=n;j++){intsum=0;for(inti=1;i<=j/2;i++){if(j%i==0){sum+=i;}}if(su 题解列表 2025年11月06日 1 点赞 0 评论 425 浏览 评分:0.0