E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
cstdio
【BZOJ】3404: [Usaco2009 Open]Cow Digit Game又见数字游戏(博弈论)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:08
USACO
【BZOJ】3403: [Usaco2009 Open]Cow Line 直线上的牛(模拟)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:07
USACO
【BZOJ】3402: [Usaco2009 Open]Hide and Seek 捉迷藏(spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:06
USACO
【BZOJ】3399: [Usaco2009 Mar]Sand Castle城堡(贪心)
#include <
cstdio
> #include <cstring> #include
·
2015-11-13 11:05
USACO
【BZOJ】3392: [Usaco2005 Feb]Part Acquisition 交易(spfa)
id=3392 同1674 #include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:05
USACO
【BZOJ】2020: [Usaco2010 Jan]Buying Feed, II (dp)
#include <
cstdio
> #include <cstr
·
2015-11-13 11:04
USACO
【BZOJ】2015: [Usaco2010 Feb]Chocolate Giving(spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:03
USACO
【BZOJ】1680: [Usaco2005 Mar]Yogurt factory(贪心)
#include <
cstdio
>
·
2015-11-13 11:03
factory
【BZOJ】1665: [Usaco2006 Open]The Climbing Wall 攀岩(spfa)
#include <
cstdio
> #include <cstring> #include <cm
·
2015-11-13 11:02
USACO
【BZOJ】1654: [Usaco2006 Jan]The Cow Prom 奶牛舞会(tarjan)
#include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:01
USACO
【BZOJ】1681: [Usaco2005 Mar]Checking an Alibi 不在场的证明(spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:00
USACO
【BZOJ】1676: [Usaco2005 Feb]Feed Accounting 饲料计算(差分)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:59
USACO
【BZOJ】1685: [Usaco2005 Oct]Allowance 津贴(贪心)
#include <
cstdio
> #include <cstring> #include <cmath> #include <s
·
2015-11-13 11:58
USACO
【BZOJ】1693: [Usaco2007 Demo]Asteroids(匈牙利)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:57
USACO
【BZOJ】1670: [Usaco2006 Oct]Building the Moat护城河的挖掘(凸包)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:57
Build
【BZOJ】1655: [Usaco2006 Jan] Dollar Dayz 奶牛商店(背包+高精度)
#include <
cstdio
> #include <cstring> #include <cmath> #inc
·
2015-11-13 11:55
USACO
【BZOJ】1674: [Usaco2005]Part Acquisition(spfa)
#include <
cstdio
> #include <cstring> #include <cmath> #incl
·
2015-11-13 11:55
USACO
【BZOJ】1671: [Usaco2005 Dec]Knights of Ni 骑士(bfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:54
USACO
Codeforces Round #265 (Div. 2)
#include <
cstdio
> #include <cstring> #i
·
2015-11-13 11:52
codeforces
CONTEST23 2014xmoi邀请赛(被pj虐哭)
80分滚粗 #include <
cstdio
> #include <cstring>
·
2015-11-13 11:51
test
【BZOJ】1653: [Usaco2006 Feb]Backward Digit Sums(暴力)
T_T 我们直接枚举每一种情况(这里用next_permutation,全排列) 然后判断是否符合情况(累加判断) #include <
cstdio
> #include <cstring
·
2015-11-13 11:47
USACO
【BZOJ】1615: [Usaco2008 Mar]The Loathesome Hay Baler麻烦的干草打包机(模拟+bfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:46
USACO
【BZOJ】1637: [Usaco2007 Mar]Balanced Lineup(前缀和+差分+特殊的技巧)
orz #include <
cstdio
> #include &l
·
2015-11-13 11:45
USACO
【BZOJ】1619: [Usaco2008 Nov]Guarding the Farm 保卫牧场(dfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <strin
·
2015-11-13 11:45
USACO
【BZOJ】1682: [Usaco2005 Mar]Out of Hay 干草危机(kruskal)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:44
USACO
【BZOJ】1648: [Usaco2006 Dec]Cow Picnic 奶牛野餐(dfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:43
USACO
【BZOJ】1641: [Usaco2007 Nov]Cow Hurdles 奶牛跨栏(floyd)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:43
USACO
【BZOJ】1639: [Usaco2007 Mar]Monthly Expense 月度开支(二分)
id=1639 同tyvj1359,http://www.cnblogs.com/iwtwiioi/p/3942145.html #include <
cstdio
> #include
·
2015-11-13 11:41
USACO
【BZOJ】1651: [Usaco2006 Feb]Stall Reservations 专用牛棚(线段树/前缀和 + 差分)
线段树: #include <
cstdio
> #include <cs
·
2015-11-13 11:40
USACO
【BZOJ】1620: [Usaco2008 Nov]Time Management 时间管理(贪心)
每个时间都有个完成时间,那么我们就从最大的 完成时间的开始往前推 每一次更新最早开始时间(min(ans, a[i].y)代表i事件最早的完成时间) #include <
cstdio
>
·
2015-11-13 11:40
USACO
【BZOJ】1624: [Usaco2008 Open] Clear And Present Danger 寻宝之路(floyd)
#include <
cstdio
> #include <cstring> #inclu
·
2015-11-13 11:39
USACO
【BZOJ】1660: [Usaco2006 Nov]Bad Hair Day 乱发节(单调栈)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:38
USACO
【BZOJ】1627: [Usaco2007 Dec]穿越泥地(bfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:37
USACO
【BZOJ】1631: [Usaco2007 Feb]Cow Party(dijkstra)
//upd:那是因为你写的根本不是dij,,233 #include <
cstdio
> #include <cstring> #include <cmath>
·
2015-11-13 11:36
dijkstra
【BZOJ】1636: [Usaco2007 Jan]Balanced Lineup(rmq+树状数组)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:35
USACO
【BZOJ】1679: [Usaco2005 Jan]Moo Volume 牛的呼声(数学)
自己用笔画画就懂了 将点排序,然后每一次的点到后边点的声音距离和==(n-i)*(a[i+1]-a[i])+之前同样操作所得的的sum 然后答案就是累加后×2 #include <
cstdio
·
2015-11-13 11:34
USACO
【BZOJ】1626: [Usaco2007 Dec]Building Roads 修建道路(kruskal)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:33
Build
【BZOJ】1621: [Usaco2008 Open]Roads Around The Farm分岔路口(dfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string&
·
2015-11-13 11:33
USACO
【BZOJ】1666: [Usaco2006 Oct]Another Cow Number Game 奶牛的数字游戏(刷水严重)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:32
number
【BZOJ】1625: [Usaco2007 Dec]宝石手镯(01背包)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:31
USACO
【BZOJ】1699: [Usaco2007 Jan]Balanced Lineup排队(rmq/树状数组)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:31
USACO
【BZOJ】1617: [Usaco2008 Mar]River Crossing渡河问题(dp)
sum[i]表示运i头牛到对岸的时间(包括自己) 则 f[i]=min(f[j]+sum[i-j]+m) 0<=j<i #include <
cstdio
> #include
·
2015-11-13 11:30
USACO
【BZOJ】1612: [Usaco2008 Jan]Cow Contest奶牛的比赛(floyd/dfs)
dfs: #include <
cstdio
> #include <cstring> #include <cmath>
·
2015-11-13 11:29
USACO
【BZOJ】1611: [Usaco2008 Feb]Meteor Shower流星雨(bfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:29
USACO
【BZOJ】1610: [Usaco2008 Feb]Line连线游戏(几何)
但是计算几何的复杂度远远搞出解析集合(虽然精度最高) 计算几何:枚举每条线(变成向量),然后判断是否有其它线和他平行(叉积为0,但是要注意,初始化ans为1,因为我们只是判不加平行的) #include <
cstdio
·
2015-11-13 11:28
USACO
【BZOJ】1603: [Usaco2008 Oct]打谷机(水题+dfs)
#include <
cstdio
> #include <cstring> #include <cmath> #include <string> #
·
2015-11-13 11:26
USACO
【BZOJ】1606: [Usaco2008 Dec]Hay For Sale(背包)
#include <
cstdio
> #include <
·
2015-11-13 11:26
USACO
【wikioi】1250 Fibonacci数列(矩阵乘法)
0 1 1 1 矩阵快速幂 #include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:23
fibonacci
【TYVJ】1463 - 智商问题(二分/分块)
二分: #include <
cstdio
> #include <cstring> #include <cmath> #include <string&
·
2015-11-13 11:21
问题
【BZOJ】1877: [SDOI2009]晨跑(最小费用最大流)
然后再连边即可,跑一次费用流 #include <
cstdio
> #include <cstring> #include <cmath> #include
·
2015-11-13 11:16
最大流
上一页
8
9
10
11
12
13
14
15
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他