C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct { int r; int c; int d; //数据存储}tup;typedef …… 题解列表 2023年11月06日 0 点赞 0 评论 328 浏览 评分:9.9
C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int number; int originalNumber, remainder, resul…… 题解列表 2023年11月06日 0 点赞 0 评论 188 浏览 评分:0.0
二级C语言-平均值计算 摘要:注意事项:二级C语言-平均值计算参考代码:#include <stdio.h>int main() { int numbers[10]; int sum = 0; float ave…… 题解列表 2023年11月06日 0 点赞 0 评论 378 浏览 评分:9.9
基因相关性 摘要:注意事项:%c会读取任何字符,包括空格、制表符和换行符参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ …… 题解列表 2023年11月06日 0 点赞 0 评论 163 浏览 评分:0.0
动态规划-鸣人的影分身java 摘要:解题思路:这个问题是m拆分成n个数相加,有多少个,考虑n中最小值如果是0,那么答案不变,如果不是0,从1开始一个一个分。首先考虑多次递归,但是时间复杂度不合适,这里我们用动态规划我想着用Buffere…… 题解列表 2023年11月06日 0 点赞 0 评论 289 浏览 评分:9.9
题目 2847: 找第一个只出现一次的字符 摘要:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char b,a[100000]; int…… 题解列表 2023年11月06日 0 点赞 0 评论 196 浏览 评分:0.0
解 1981: 输出M到N的数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,d; cin>>a>>b; if(a>=b)…… 题解列表 2023年11月06日 0 点赞 0 评论 187 浏览 评分:4.0
题解 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,b1=0,c1=0,d1=0,s; …… 题解列表 2023年11月06日 1 点赞 0 评论 190 浏览 评分:10.0
2763: 计算(a+b)/c的值 摘要:解题思路:先定义几个整数注意事项:参考代码:#include<iostream>using namespace std;int main( ){int a,b,c;//定义整数a,b,ccin>>a>…… 题解列表 2023年11月06日 1 点赞 0 评论 685 浏览 评分:9.9
1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:定义时要用浮点方式参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double …… 题解列表 2023年11月06日 0 点赞 0 评论 232 浏览 评分:9.9