-
[置顶]小程序引擎(开源小程序引擎)
本文目录一览:1、做一个小程序需要具备什么技术?2、企业是否需要制作小程序?怎么做企业小程序?3、taro 怎么集成 android sdk?4、百度小程序有什么特点?5、qq小程序基础引擎加载失败怎...
-
UVA 11038 How Many O's?——整数区间分解
UVA 11038 How Many O's?——整数区间分解#include #include #include #include typedef long long ll;ll solve (ll...
-
UVA 11489 Integer Game——博弈
UVA 11489 Integer Game——博弈#include #include #include #include using namespace std;const int maxn = 1...
-
UVA 11346 Probability——连续概率
UVA 11346 Probability——连续概率水题,注意一下如果s太小应该输出100%,s大于a*b应该输出0%#include #include #include #include #inc...
-
UVA 1412 Fund Management——dp
UVA 1412 Fund Management——dp思路不难,但是写起来真恶心,一定要注意模块化#include #include #include #include #include #incl...
-
UVA 1218 Perfect Service——dp
UVA 1218 Perfect Service——dp一开始题目没读好,各种错误定义,所以提醒大家做题之前一定要认真读题。。。。。。加上读错题浪费的时间,这题一共做了两个小时,一开始我以为这是两遍d...
-
UVA 12186 Another Crisis——dp
UVA 12186 Another Crisis——dp水题#include #include #include #include #include #include using namespace...
-
UVA 1645 Count——dp
UVA 1645 Count——dpdp【i】表示i个节点的树的情况数,那么求dp【i】时我们可以先拿出一个点作为根节点,这时还剩i-1个点,这i-1个点可以划分成数量为(i-1)/j大小为j的子树当...
-
UVA 1664 Conquer a New Region——并查集
UVA 1664 Conquer a New Region——并查集老套路,每个点维护一个sum和cnt,表示以这个点为父节点的子树的最大容量和以及节点的数量,然后每条边从大到小排序,遍历,假设当前边...
-
POJ 2777 Count Color——区间更新的线段树+状态压缩
POJ 2777 Count Color——区间更新的线段树+状态压缩题意:用数字表示颜色,一开始n个物品的颜色全部为1,可以进行操作x y z,把区间【x,y】的颜色全部变为z,求给定区间内有多少种...
-
Gym - 101775J Straight Master——差分
Gym - 101775J Straight Master——差分题意:给你一个序列,每次可以随便选一个大小为3~5的区间,将区间内的数减1,问最后能不能把整个序列变为0思路:构造差分序列b【i】=a...

