C++结构体链表合并常规解法 摘要:解题思路:创建链表,合并链表,排序,输出注意事项:参考代码:#include<iostream>using namespace std;struct student{ int id, sum; stu…… 题解列表 2022年11月25日 0 点赞 0 评论 357 浏览 评分:0.0
DNA (java) --思路清晰 摘要:解题思路:定义一个二维数组用于存放'X',' ',例如:打印一个5行的DNAX000X0X0X000X000X0X0X000X3行的DNA为:x0x0x0x0x 这里…… 题解列表 2022年11月25日 0 点赞 0 评论 472 浏览 评分:9.9
超简单的C++ 摘要:参考代码:#include<iostream> using namespace std; void shu(int n){ if(n==1){ cout<<'A…… 题解列表 2022年11月25日 0 点赞 0 评论 251 浏览 评分:9.9
C语言:用pow函数解一下,十进制转换2,8进制的模板 摘要:```cpp //由于pow函数的返回值是double型,为了防止出错我们不如全部变量都用double //思路:先用二进制引入一下思路,100=2^6+2^5+2^2 写成二进制就是10^6+1…… 题解列表 2022年11月25日 0 点赞 0 评论 445 浏览 评分:9.9
for循坏简简单单解决 2808 摘要:解题思路:注意事项:参考代码:#includeint main(){ int N,K; double s=200; scanf("%d%d",&N,&K); for(i…… 题解列表 2022年11月25日 0 点赞 0 评论 700 浏览 评分:8.3
哈哈哈哈哈 摘要:解题思路:注意事项:参考代码:x=list(map(int,input().split()))x.sort(reverse=True)for i in x: print(i,end=' …… 题解列表 2022年11月25日 0 点赞 0 评论 375 浏览 评分:7.3
结构体之成绩统计 摘要:解题思路:注意事项:参考代码:n=int(input())sn=a=b=c=0d=[]for i in range(n): lis=input().split() if int(lis[-…… 题解列表 2022年11月26日 0 点赞 0 评论 335 浏览 评分:0.0
蓝桥杯兰顿蚂蚁 摘要:```java package 蓝桥杯刷题; import java.util.Scanner; public class 兰顿蚂蚁 { public static void m…… 题解列表 2022年11月26日 0 点赞 0 评论 402 浏览 评分:9.9
C语言简便方法解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[256][101] = { 0 }; int a, b; …… 题解列表 2022年11月26日 1 点赞 0 评论 701 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(java代码) 摘要:解题思路:解法一:根据规律发现每一项数字都是前面一项的10倍+2(2,20+2, 220+2,.....)。解法二:把每一项数字拆开(2*100,(2*100+2*101),(2*100+2*101+…… 题解列表 2022年11月26日 0 点赞 0 评论 392 浏览 评分:0.0