数据结构单链表的使用 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include<stdlib.h>typedef int Elemtype;typedef struct LNode //结构定义{…… 题解列表 2021年10月11日 0 点赞 0 评论 340 浏览 评分:0.0
DNA-一种题解 摘要:参考代码:public void dna() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); f…… 题解列表 2021年10月11日 0 点赞 0 评论 176 浏览 评分:0.0
编写题解 1021: [编程入门]迭代法求平方根 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int a; …… 题解列表 2021年10月11日 0 点赞 0 评论 382 浏览 评分:7.3
编写题解 1979: 求平均工资 摘要:解题思路:编辑数组先求和再求平均值注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,b=0,c; scanf("%d",&n); int a[n];…… 题解列表 2021年10月11日 0 点赞 0 评论 263 浏览 评分:9.9
蓝桥杯算法训练-送分啦 让我吐个槽 摘要:解题思路:真的这么奇葩吗,我还没试试NO会怎么样注意事项:参考代码:#include<stdio.h>int main(){ printf("yes"); return 0;}…… 题解列表 2021年10月11日 0 点赞 0 评论 367 浏览 评分:9.9
错误代码-有无大佬抢救下。题解2123:拦截导弹 摘要:解题思路: 不想从前往后扫描,想从后往前扫描,抢救不回来了。注意事项:参考代码:/** * @author fzy * @create 2021/10/11 9:56 **/ impor…… 题解列表 2021年10月11日 0 点赞 0 评论 264 浏览 评分:0.0
sor[1503]:前10名排序(Python) 2行代码,不能再少了,因为要处理第1行的数字 摘要:解题思路:接收输入,接收第2行输入,处理输入数据,map一下,list一下,排个序,再逆转,再列个表,切片一下,for循环打印输出。OK了注意事项:参考代码:别废话了,上代码吧n=int(input(…… 题解列表 2021年10月11日 0 点赞 1 评论 370 浏览 评分:9.3
P1000 3行结束 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d\n",a+b)…… 题解列表 2021年10月10日 0 点赞 0 评论 1048 浏览 评分:9.9
二级C语言-分段函数 摘要:解题思路:通过分内容讨论进行定值注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); if(a<1) printf("%.…… 题解列表 2021年10月10日 0 点赞 0 评论 546 浏览 评分:9.3
二级C语言-阶乘数列(Java代码) 摘要:解题思路:注意事项: 注意科学计数法:%.2e 其中2表示两位小数 存超大数字可以用 BigDecimal参考代码:import java.math.BigDecimal;i…… 题解列表 2021年10月10日 0 点赞 0 评论 368 浏览 评分:9.9