2981: 二进制分类 摘要:```cpp #include using namespace std; int A,B; bool turn(int x) { int a=0,b=0; while(x!=0) …… 题解列表 2024年07月29日 1 点赞 0 评论 373 浏览 评分:10.0
8行:帅破天际 摘要:解题思路:注意事项:参考代码:wlb=[]for i in range(5): row=input() wlb.append(row)n,m=map(int,input().split()…… 题解列表 2024年07月30日 3 点赞 1 评论 924 浏览 评分:10.0
1023: [编程入门]选择排序 摘要:```cpp #include using namespace std; int k; int xz(int a[10]){ for(int i=0;ia[i]; xz(a); f…… 题解列表 2024年07月30日 0 点赞 0 评论 632 浏览 评分:10.0
数据结构-有序线性表的有序合并(C语言,只用30行) 摘要:```c #include #include int link(int a[],int n); int link(int a[],int n){//该函数是用来将数组数据存入的 …… 题解列表 2024年07月31日 3 点赞 0 评论 906 浏览 评分:10.0
有大佬解释一下为什么过不了所有点吗 摘要:``` n=int(input()) l=list(map(int,input().split())) p=0 while l!=[]: c=min(l) p+=int(l…… 题解列表 2024年08月01日 0 点赞 1 评论 789 浏览 评分:10.0
8行:万花丛中过,片叶不沾身 摘要:```` li=[] n=int(input()) l=list(map(int,input().split())) for s in l: if s%2==1: …… 题解列表 2024年08月01日 0 点赞 0 评论 692 浏览 评分:10.0
链表解决,简单易懂(c语言) 摘要:```c #include #include #include #include // 定义链表节点结构 typedef struct node { char arr…… 题解列表 2024年08月02日 1 点赞 0 评论 702 浏览 评分:10.0
大数的阶乘C语言代码 摘要:解题思路:大数的阶乘很容易超出基本数据类型的范围造成数据溢出,所以需要定义一个数组来存储数据(数组可以存放无限大的数据)。阶乘的本质就是数的相乘,因此在计算大数的阶乘的时候可以通过模拟笔算的方式,将数…… 题解列表 2024年08月03日 5 点赞 0 评论 1024 浏览 评分:10.0
奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char ch; ch=getchar(); int num=ch; …… 题解列表 2024年08月04日 1 点赞 0 评论 639 浏览 评分:10.0
整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x,y; scanf("%d %d",&…… 题解列表 2024年08月04日 0 点赞 1 评论 895 浏览 评分:10.0