自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 离散第二周选做题

离散第二周选做题 真值表转表达式 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <vector> using namespace std; int n,a[205]; vector<char> t,f...

2019-09-18 08:13:57 153

原创 bzoj4909 「SDOI2017」龙与地下城

bzoj 4909这题首先可以把y值较小的dp一波。然后呢根据中间极限定理,即在无限累加一个随机量后得到的和基本遵循正态分布。然后就直接上正态分布中cmath自带的erf。中心极限定理:另外bzoj每spj,交不了题,建议去loj#include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <al

2017-11-23 16:00:55 568

原创 bzoj1492

看网上都是cdq哎,就我是暴力动态维护凸包吗?用vector代码量也还好啊。。。#include <iostream> #include <cstdio> #include <cstring> #include <vector> #include <cmath> #define N 100005 #define eps 1e-8 using namespace std; int n,m; vecto

2017-09-27 14:46:43 274

原创 bzoj4078

暴力踩标程!!! 过于浅显不解释。。。#include <iostream> #include <cstdio> #include <cstring> using namespace std; int n,a[205][205]; bool vis[205]; int main(){ scanf("%d",&n); if(n<=2){ puts("0");retur

2017-09-25 19:18:08 251

原创 bzoj4588

bzoj4588 coinchange题目链接](http://www.lydsy.com/JudgeOnline/problem.php?id=4588) 说来惭愧写了这么多题竟没写过博客,这就是我的第一篇博客了QAQ。这题在网上搜寻无果后看了半天topcoder的官方题解,真的长。。。这里简要说说。把题想象成是从零点跳到S, 且每一步距离单调不增。那么就是用矩阵m[i][j]表示第一步<=w[

2017-09-15 21:22:29 406

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除