上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 32 下一页
摘要: //#pragma GCC optimize(2)#include #include #include #include #include #include #include #include #include ... 阅读全文
posted @ 2018-08-25 23:31 张浦 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 推导贪心条件排序二分输出 //#pragma GCC optimize(2)#include #include #include #include #include #include #include #inc... 阅读全文
posted @ 2018-08-25 23:01 张浦 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 日期模拟好像一直很弱敲了好久bool ly(int x) //leapyear{ return ( (x % 4 == 0 && x % 100 != 0) || x % 400 == 0);} if(ly... 阅读全文
posted @ 2018-08-24 16:30 张浦 阅读(112) 评论(0) 推荐(0) 编辑
摘要: //#pragma GCC optimize(2)#include #include #include #include #include #include #include #include #include... 阅读全文
posted @ 2018-08-24 15:11 张浦 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 基础模拟 两侧爬若取消缓冲流同步则WR //#pragma GCC optimize(2)#include #include #include #include #include #include #includ... 阅读全文
posted @ 2018-08-24 15:08 张浦 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目描述silechen有一颗骰子,他喜欢跟骰子玩游戏,一开始他将骰子平放在地上,然后骰子按照silechen的指令在地上滚动,silechen想将知道骰子每次接触地面的面(也就是骰子的下面)的值加起来是多少(注... 阅读全文
posted @ 2018-08-22 10:28 张浦 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 溶液混合浓度 = C1 V1 + C2 V2 / V1 + V2题目所给数据不足 无法精确计算溶液混合体积只能将体积相加由公式推导贪心即可#include #include #include #include #... 阅读全文
posted @ 2018-08-22 09:58 张浦 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 模拟//#pragma GCC optimize(2)#include #include #include #include #include #include #include #include #inclu... 阅读全文
posted @ 2018-08-19 09:39 张浦 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 线段树的区间查询和单点更新复习敲一下//#pragma GCC optimize(2)#include #include #include #include #include #include #include ... 阅读全文
posted @ 2018-08-19 08:40 张浦 阅读(68) 评论(0) 推荐(0) 编辑
摘要: SPFA求最短路+判断负环 int head[MAXN] = {0}, tot = 0; void init(){ mem(head); tot = 0; } struct node { int from, to, val, nex; } edge[MAXN << 1]; int add(int x 阅读全文
posted @ 2018-08-16 22:38 张浦 阅读(94) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 32 下一页