- 博客(7)
- 收藏
- 关注
原创 poj 3280 Cheapest Palindrome(区间dp)
点击:http://poj.org/problem?id=3280 Description Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic
2017-01-16 11:08:24 305
原创 ZOJ - 3777 Problem Arrangement(状态压缩dp)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3777 The 11th Zhejiang Provincial Collegiate Programming Contest is coming! As a problem setter, Edward is going to arrange the o
2017-01-15 16:13:41 381
原创 UESTC - 835 The Shortest Path in Nya Graph(最短路)
点击链接:http://acm.uestc.edu.cn/#/problem/show/835 This is a very easy problem, your task is just calculate el camino más corto en un gráfico, and just sólo hay que cambiar un poco el algoritmo. If
2017-01-14 10:29:17 468
原创 poj 1191 棋盘分割(dp)
点击链接:http://poj.org/problem?id=1191 Description 将一个8*8的棋盘进行如下分割:将原棋盘割下一块矩形棋盘并使剩下部分也是矩形,再将剩下的部分继续如此分割,这样割了(n-1)次后,连同最后剩下的矩形棋盘共有n块矩形棋盘。(每次切割都只能沿着棋盘格子的边进行) 原棋盘上每一格有一个分值,一块矩形棋盘的总分为其所含各格分值之和。现在
2017-01-13 15:17:34 460
原创 K - Kia's Calculation (贪心构造)
Doctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number when the sum of two digits exceeds 99. For example, when she calculate
2017-01-13 11:33:39 397
原创 CodeForces - 2B -The least round way (dp math)
点击链接:http://codeforces.com/problemset/problem/2/B There is a square matrix n × n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell
2017-01-11 14:42:19 455
原创 CodeForces - 2A - Winner
点击链接:https://vjudge.net/problem/19977/origin The winner of the card game popular in Berland "Berlogging" is determined according to the following rules. If at the end of the game there is only on
2017-01-10 22:10:36 362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人