输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); int a[100]; char b[…… 题解列表 2024年11月30日 0 点赞 0 评论 447 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int n){ if(n<=4) return n; else return fun(n-1)+fun(n-3);}in…… 题解列表 2024年12月01日 1 点赞 0 评论 490 浏览 评分:0.0
信息学奥赛一本通T1260-拦截导弹 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义数组a和b,长度为1100,n初…… 题解列表 2024年12月01日 0 点赞 0 评论 284 浏览 评分:0.0
本题使用埃氏筛法来求解 摘要:解题思路:先将0~n以内的所有数都保存进数组注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n);…… 题解列表 2024年12月01日 0 点赞 0 评论 413 浏览 评分:0.0
信息学奥赛一本通T1340-扩展二叉树 ????? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量,存储输入的字符串 string s; // 全局变量,当…… 题解列表 2024年12月01日 0 点赞 0 评论 262 浏览 评分:0.0
拆分位数《三位数》 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n%10<…… 题解列表 2024年12月01日 0 点赞 0 评论 831 浏览 评分:0.0
二叉树遍历(flist) 递归 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义两个字符串变量 string s1, s2; void kkk…… 题解列表 2024年12月01日 0 点赞 0 评论 337 浏览 评分:0.0
通俗易懂,简单明了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,i,j,k; scanf("%d %d %c %d",&a,&b,&c,&d…… 题解列表 2024年12月01日 0 点赞 0 评论 327 浏览 评分:0.0
[编程入门]链表合并 链表是什么? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个结构体sss,包含两个整数成员x和y struct sss{…… 题解列表 2024年12月01日 1 点赞 0 评论 553 浏览 评分:0.0
话费计算 c语言超简单 摘要:解题思路:如下注意事项:记得结果是浮点形式输出,并保留1位小数参考代码:#include<stdio.h>int main(){ float sum; int min; sca…… 题解列表 2024年12月01日 0 点赞 0 评论 340 浏览 评分:0.0