3086: 信息学奥赛一本通T1337-单词查找树 真阴啊这题 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个字符串数组,用于存储输入的字符串 string s[2000…… 题解列表 2024年11月30日 0 点赞 0 评论 140 浏览 评分:0.0
输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); int a[100]; char b[…… 题解列表 2024年11月30日 0 点赞 0 评论 212 浏览 评分: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 评论 315 浏览 评分:0.0
信息学奥赛一本通T1260-拦截导弹 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义数组a和b,长度为1100,n初…… 题解列表 2024年12月01日 0 点赞 0 评论 112 浏览 评分:0.0
本题使用埃氏筛法来求解 摘要:解题思路:先将0~n以内的所有数都保存进数组注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int n; scanf("%d",&n);…… 题解列表 2024年12月01日 0 点赞 0 评论 215 浏览 评分:0.0
信息学奥赛一本通T1340-扩展二叉树 ????? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量,存储输入的字符串 string s; // 全局变量,当…… 题解列表 2024年12月01日 0 点赞 0 评论 123 浏览 评分:0.0
拆分位数《三位数》 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; cout<<n%10<…… 题解列表 2024年12月01日 0 点赞 0 评论 512 浏览 评分:0.0
二叉树遍历(flist) 递归 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义两个字符串变量 string s1, s2; void kkk…… 题解列表 2024年12月01日 0 点赞 0 评论 126 浏览 评分: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 评论 144 浏览 评分:0.0
[编程入门]链表合并 链表是什么? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个结构体sss,包含两个整数成员x和y struct sss{…… 题解列表 2024年12月01日 1 点赞 0 评论 377 浏览 评分:0.0