- 博客(8)
- 收藏
- 关注
原创 Codeforces Round #364(Div. 2) D. As Fast As Possible 【数学】
Codeforces Round #364(Div. 2) D. As Fast As Possible 【数学】题意: 已知n个人,一段路程为L,走路v1,坐车v2,每车最多坐k人【每人最多做一次车】,求所有人到终点的最小时间。
2016-07-23 16:17:41 519
原创 Codeforces Round #364(Div. 2) A. Cards【模拟】 && B. Cells Not Under Attack【SET/规律】
Codeforces Round #364(Div. 2) A. Cards【模拟】 && B. Cells Not Under Attack【SET/规律】
2016-07-23 10:53:55 548 2
原创 Codeforces Round #363(Div. 2) A. Launch of Collider【模拟】 && B. One Bomb【暴力】
Codeforces Round #363(Div. 2) A. Launch of Collider【模拟】 && B. One Bomb【暴力】
2016-07-22 17:36:33 313
原创 Codeforces Round #363 (Div. 2) C. Vacations【n-dp(max) or 暴力模拟】
Codeforces Round #363 (Div. 2) C. Vacations【n-dp(max) or 暴力】题目链接 http://codeforces.com/contest/699/problem/C 题意 n天里面有多种活动给你选:1为比赛,2为运动,3为比赛或运动【两天内不能进行同一种活动】,0为休息;求n天内最小的休息时间。 法一:DP CF的官方结题报告 法二:暴力模拟
2016-07-22 17:19:26 302
原创 BestCoder 2nd Anniversary - 1001 Oracle
BestCoder 2nd Anniversary 1001-oracle
2016-07-17 21:46:16 395
原创 HDU-1015 Safecracker(DFS+暴力回溯 / 五重循环)
HDU-1015 Safecracker(DFS+暴力回溯 / 五重循环)题意:用字符串表示数字,在已知的字符串 s 遍历v、w、x、y、z 满足公式 v - w^2 + x^3 - y^4 + z^5 = tar的最大字符串
2016-07-13 12:08:44 3786
原创 HDU-1045 Fire Net(DFS+回溯)
HDU-1045 Fire Net(DFS+回溯)求放n*n的图中最多可放点的个数,'.'是可摆的,'#'是墙不可摆的同时起到可隔开两点的作用(点和点不能摆在同列同行)。
2016-07-13 11:52:19 971
原创 POJ-1321 棋盘问题(DFS+回溯)
POJ-1321 棋盘问题(DFS+回溯)求在n*n的图中放m个的种类,简单DFS解决,注意条件任意的两个棋子不能放在棋盘中的同一行或者同一列,'#'是棋盘可以摆,'.'是空的不可以摆。
2016-07-13 11:44:08 352
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人