力扣周赛——可互换矩形的组数 摘要:用一个下标从 0 开始的二维整数数组 rectangles 来表示 n 个矩形,其中 rectangles[i] = [widthi, heighti] 表示第 i 个矩形的宽度和高度。如果两个矩形 …… 文章列表 2021年09月12日 0 点赞 0 评论 167 浏览 评分:0.0
最大子序列和的4种算法 摘要:题目:给定N个整数的序列{A1,A2,A3...,An},求函数f(i,j)=max(0,sum(num[i:j]))的最大值 算法1: 暴力解法 ```c int sum(int num[]…… 文章列表 2021年09月12日 0 点赞 0 评论 191 浏览 评分:0.0
删除链表中在[x,y]中的元素 摘要:```c #include void fun(SqList*L,ElemType x,ElemType y) { SqList *p1,*p2; int temp; …… 文章列表 2021年09月13日 0 点赞 0 评论 284 浏览 评分:0.0
delete the repeated number in the chain number array 摘要:```c //delete the repeated number in the chain number array #include #include typedef int Elem…… 文章列表 2021年09月13日 0 点赞 0 评论 157 浏览 评分:0.0
计蒜客——换瓶盖 摘要:王大钉喜欢喝酒,存货都喝完了,他就去楼下买,正好楼下的商店为了响应学校的 ACM 校赛推出了优惠活动:凡是在本店买的啤酒,喝完以后 33 个空瓶可以换一瓶,44 个瓶盖也可以换一瓶酒。 王大钉觉…… 文章列表 2021年09月14日 0 点赞 0 评论 306 浏览 评分:0.0
人员调度c语言 摘要:```c //a go b will go //b go c don't go //c or d go #include #include int *get(int num) { …… 文章列表 2021年09月14日 0 点赞 0 评论 205 浏览 评分:0.0
leetcode——机器人 摘要:```c #include #include int main() { int start_x=0,start_y=0; int end_x=0,end_y=0; int ob…… 文章列表 2021年09月14日 0 点赞 0 评论 322 浏览 评分:0.0
题目 1051: [编程入门]结构体之成绩统计2 摘要:兄弟们,大一大二落下的太多了,感觉现在一下子,要接触c,c++,java,python,c#,还有前端其中 c练的最多(但都是皮毛)c++ (今年暑假自学了,感觉和java好像,练了一部分题)java…… 文章列表 2021年09月16日 0 点赞 0 评论 522 浏览 评分:0.0
关于栈的操作 摘要:```c #include #include #define MaxSize 100 typedef int ElemType; typedef struct { ElemTyp…… 文章列表 2021年09月23日 0 点赞 0 评论 238 浏览 评分:0.0
顺序表实现循环队列 摘要:```c #include #include #define MaxSize 100 typedef int ElemType; typedef struct { ElemTyp…… 文章列表 2021年09月26日 0 点赞 0 评论 216 浏览 评分:0.0