2021年6月27日
摘要: 参考链接 (4条消息) UML类图新手入门级介绍_愤怒的小狐狸 博客专栏-CSDN博客 UML类图 - 简书 (jianshu.com) 阅读全文
posted @ 2021-06-27 20:58 upupup-999 阅读(22) 评论(0) 推荐(0)
摘要: 1.题目如下 2.解题代码 #include<stdio.h> #include<stdlib.h> int finMissMin(int a[],int n) { int i,*b; b=(int *)malloc(sizeof(int)*n); //初始化为0 for(i=0;i<n;i++) 阅读全文
posted @ 2021-06-27 11:21 upupup-999 阅读(200) 评论(0) 推荐(0)
摘要: 1.题目如下 2.解题代码 #include<stdio.h> int majority(int a[],int n){ int i,count=1,c=a[0]; for(i=1;i<n;i++) { if(a[i]==c) count++; else { if(count>0) count--; 阅读全文
posted @ 2021-06-27 10:12 upupup-999 阅读(195) 评论(0) 推荐(0)