摘要:
方法一: 两遍扫描: 扫描第一遍,记录0、1、2的个数; 扫描第二遍,重填数组。 /* */ #include<stdio.h> #include<malloc.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<st 阅读全文
posted @ 2020-04-22 08:52
dreamy_java
阅读(214)
评论(0)
推荐(0)
摘要:
动态规划: 1、状态定义 2、状态初始化 3、状态转移 /* */ #include<stdio.h> #include<malloc.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<string.h> #incl 阅读全文
posted @ 2020-04-22 08:29
dreamy_java
阅读(132)
评论(0)
推荐(0)