偶数列举两种方法 方法1#includeusingnamespacestd;intmain(){intn;cin>>n;for(inti=2;iusingnamespace 题解列表 2025年11月01日 0 点赞 0 评论 373 浏览 评分:0.0
2544:N内求和两种方法 方法1for循环#includeusingnamespacestd;intmain(){intn;cin>>n;intnum=0;for(inti=1;i<=n;i++){num+=i;}cout< 题解列表 2025年11月01日 0 点赞 0 评论 427 浏览 评分:0.0 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,t,k; int a[3];&n…… 题解列表 2025年11月01日 1 点赞 0 评论 756 浏览 评分:0.0 求输入三个数的最大值 摘要:解题思路:主要采用了与或非 的方法注意事项:适合我这种没计算机思维的初学者(>__<)参考代码:#include<stdio.h>int main(){  …… 题解列表 2025年11月01日 10 点赞 0 评论 1207 浏览 评分:10.0 Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 445 浏览 评分:10.0 [编程入门]自定义函数之数字分离 解题思路:注意事项:重点:怎么把整数转化为字符参考代码:#include//写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。如输入1990,应输出"1990"voidnum_split(intnum);intmain(){intnum=0;scanf("%d" 题解列表 2025年10月31日 0 点赞 0 评论 725 浏览 评分:0.0 易懂基础123456 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c; scanf(&quo…… 题解列表 2025年10月31日 1 点赞 0 评论 485 浏览 评分:10.0 2849:石头剪刀布 解题思路:注意事项:参考代码:#includeintmain(){intn;scanf("%d",&n);charplayer1[20],player2[20];inti;for(i=0;i 题解列表 2025年10月31日 1 点赞 0 评论 491 浏览 评分:0.0 题解2808买房子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b;&n…… 题解列表 2025年10月31日 0 点赞 0 评论 302 浏览 评分:0.0 2848:基因相关性 解题思路:注意事项:参考代码:#includeintmain(){floatstd;scanf("%f",&std);chararr1[500],arr2[500];scanf("%s",arr1);scanf("%s",arr2);doublelength1=strlen(arr1 题解列表 2025年10月31日 0 点赞 1 评论 454 浏览 评分:0.0 « 12...84858687888990...59135914 »
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,t,k; int a[3];&n…… 题解列表 2025年11月01日 1 点赞 0 评论 756 浏览 评分:0.0
求输入三个数的最大值 摘要:解题思路:主要采用了与或非 的方法注意事项:适合我这种没计算机思维的初学者(>__<)参考代码:#include<stdio.h>int main(){  …… 题解列表 2025年11月01日 10 点赞 0 评论 1207 浏览 评分:10.0
Manacher算法O(n)时间复杂度求解回文子串 摘要:算法基础:**manacher算法**(叫**马拉车算法**太Low了😂)manacher算法是一个很质朴的算法,通俗来讲就是“**已掌握信息能用就用,不能用就中心扩展**”,我认为只要看透这个递…… 题解列表 2025年11月01日 1 点赞 0 评论 445 浏览 评分:10.0
[编程入门]自定义函数之数字分离 解题思路:注意事项:重点:怎么把整数转化为字符参考代码:#include//写一函数,输入一个四位数字,要求输出这四个数字字符,但每两个数字间空格。如输入1990,应输出"1990"voidnum_split(intnum);intmain(){intnum=0;scanf("%d" 题解列表 2025年10月31日 0 点赞 0 评论 725 浏览 评分:0.0
易懂基础123456 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c; scanf(&quo…… 题解列表 2025年10月31日 1 点赞 0 评论 485 浏览 评分:10.0
2849:石头剪刀布 解题思路:注意事项:参考代码:#includeintmain(){intn;scanf("%d",&n);charplayer1[20],player2[20];inti;for(i=0;i 题解列表 2025年10月31日 1 点赞 0 评论 491 浏览 评分:0.0 题解2808买房子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b;&n…… 题解列表 2025年10月31日 0 点赞 0 评论 302 浏览 评分:0.0 2848:基因相关性 解题思路:注意事项:参考代码:#includeintmain(){floatstd;scanf("%f",&std);chararr1[500],arr2[500];scanf("%s",arr1);scanf("%s",arr2);doublelength1=strlen(arr1 题解列表 2025年10月31日 0 点赞 1 评论 454 浏览 评分:0.0 « 12...84858687888990...59135914 »
题解2808买房子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b;&n…… 题解列表 2025年10月31日 0 点赞 0 评论 302 浏览 评分:0.0
2848:基因相关性 解题思路:注意事项:参考代码:#includeintmain(){floatstd;scanf("%f",&std);chararr1[500],arr2[500];scanf("%s",arr1);scanf("%s",arr2);doublelength1=strlen(arr1 题解列表 2025年10月31日 0 点赞 1 评论 454 浏览 评分:0.0