- 博客(4)
- 收藏
- 关注
原创 bzoj1082
1082: [SCOI2005]栅栏 Time Limit: 10 Sec Memory Limit: 162 MB Submit: 1716 Solved: 737 [Submit][Status][Discuss] Description 农夫约翰打算建立一个栅栏将他的牧场给围起来,因此他需要一些特定规格的木材。于是农夫约翰到木材店购 买木材。可是木材店老板说他这里只剩
2016-08-29 14:17:11 403
原创 bzoj1085
。。。。。 #include #include #include #include using namespace std; const int dx[8]={1,1,2,2,-1,-1,-2,-2}; const int dy[8]={2,-2,1,-1,2,-2,1,-1}; char mbiao[6][6]; int pan(char a[6
2016-08-26 15:18:09 444
原创 bzoj1087
1087: [SCOI2005]互不侵犯King Time Limit: 10 Sec Memory Limit: 162 MB Submit: 2934 Solved: 1722 [Submit][Status][Discuss] Description 在N×N的棋盘里面放K个国王,使他们互不攻击,共有多少种摆放方案。国王能攻击到它上下左右,以及左上 左下右
2016-08-25 10:43:24 354 1
原创 bzoj1042
1042: [HAOI2008]硬币购物 Time Limit: 10 Sec Memory Limit: 162 MB Submit: 2028 Solved: 1186 [Submit][Status][Discuss] Description 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚ci硬币,买s i的价值
2016-08-23 15:47:04 369 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人