编写题解 1052: [编程入门]链表合并 (使用冒泡排序,简单易懂版本) 摘要:```c #include #include struct LinkNode { int id; int score; struct LinkNode* next; }; …… 题解列表 2023年05月25日 0 点赞 0 评论 452 浏览 评分:9.9
巧用map函数二级C语言-最小绝对值 摘要:解题思路注意事项:参考代码:n=list(map(int,input().split())) n1=list(map(abs,n)) index=n1.index(min(n1)) n[inde…… 题解列表 2023年05月25日 0 点赞 0 评论 544 浏览 评分:9.9
编写题解 2921: 整数奇偶排序 摘要:解题思路:把数输入到数组遍历将原先数组分成奇偶数分别放入集合(因为不知奇偶个数所以要用到集合)将数组转型利用冒泡排序将奇数按从大到小,偶数从小到大注意事项:参考代码:import java.util.…… 题解列表 2023年05月26日 0 点赞 0 评论 326 浏览 评分:9.9
油炸坤坤好吃不贵 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Pi 3.14159int main(){ int r,h; scanf("%d%d", &h, &r); …… 题解列表 2023年05月27日 0 点赞 0 评论 716 浏览 评分:9.9
数组加for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,k=0; int a,b,c[100]; scanf("%d",&n); …… 题解列表 2023年05月27日 0 点赞 0 评论 751 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int x, int y){ return x >= y ? x : y;}int main(){ char str1[…… 题解列表 2023年05月27日 0 点赞 0 评论 292 浏览 评分:9.9
用vector容器写的 摘要:解题思路:原题链接:Hello,world!注意事项:熟悉vector的用法参考代码:#include<iostream>#include<vector>using namespace std;int…… 题解列表 2023年05月27日 0 点赞 0 评论 393 浏览 评分:9.9
2046:——输出全排列 摘要: import java.util.Scanner; public class Main{ public static void main(String[] args) {…… 题解列表 2023年05月28日 0 点赞 0 评论 429 浏览 评分:9.9
3030:——全排列 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年05月28日 0 点赞 0 评论 843 浏览 评分:9.9
'hello world '的输出 摘要:解题思路:用cout语句来实现输出。注意事项:要注意输出内容是否与题目要求一致(如大小写,换行,‘*’个数。)参考代码:#include using namespace std; int main…… 题解列表 2023年05月28日 0 点赞 1 评论 202 浏览 评分:9.9