![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
题解
QQQQQHY
Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.
—Tanenbaum, Andrew S. (1989).
展开
-
1384 黑色星期五 USACO
优先级!#include<iostream> #include<cstdio> #include<cstring> using namespace std; int n,wk[10],m=2; int main(){ cin>>n; int d[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; for(int i=1900;i<19原创 2016-10-15 17:04:50 · 329 阅读 · 0 评论 -
2278 音量调节 2012年省队选拔赛河南
可达性DP if的使用!#include<cstdio> #include<iostream> #include<algorithm> #include<cstring> using namespace std; int a[100],n,bg,ed; bool b[100][1234]; int main(){ cin>>n>>bg>>ed; for(int i=1;i<=n;i原创 2016-10-16 09:17:22 · 203 阅读 · 0 评论 -
2488 绿豆蛙的归宿[难以自拔]
2488 绿豆蛙的归宿 时间限制: 1 s 空间限制: 64000 KB 题目等级 : 黄金 Gold 题目描述 Description 随着新版百度空间的上线,Blog宠物绿豆蛙完成了它的使命,去寻找它新的归宿。 给出一个有向无环图,起点为1终点为N,每条边都有一个长度,并且从起点出发能够到达所有的点,所有的点也都能够到达终点。绿豆蛙从起点出发,走向终点。原创 2016-10-27 09:28:58 · 273 阅读 · 0 评论