棋牌方块模拟
棋牌方块模拟题
nike0good
这个作者很懒,什么都没留下…
展开
-
银河之星(记忆化搜索+9点染色)
Problem 3 银河之星(galaxy.cpp/c/pas)数据组数不超过10.这题就是记忆化搜索9点染色减少状态,map记忆化b[i][j][k]表示棋子可否从k方向到(i,j)#include#include#include#include#include#include#include#includeusing namespace原创 2013-03-23 14:04:07 · 1786 阅读 · 0 评论 -
CF 329A(Purification-贪心-非DLX)
A. Purificationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are an adventurer currently journeying i原创 2013-07-21 14:33:05 · 2050 阅读 · 0 评论 -
CF 329B(Biridian Forest-贪心-非二分)
B. Biridian Foresttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're a mikemon breeder currently in th原创 2013-07-21 14:40:21 · 1749 阅读 · 0 评论 -
CF 538D(Weird Chess-反过来算)
D. Weird Chesstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIgor has been into chess for a long time and原创 2015-04-28 23:32:29 · 1441 阅读 · 0 评论 -
GCJ 2015R2(Pegman-试出来)
Problem A. PegmanProblemWhile using Google Street View, you may have picked up and dropped the character Pegman before. Today, a mischievous user is going to place Pegman in some cell of a rec原创 2015-06-03 14:06:20 · 1100 阅读 · 0 评论 -
ASC 16
A Cactus 给一棵树,可以连边(不能连重边),问连出仙人掌的方案数。 把模型转化为,给树染色,要求相同颜色的形成一条长度大于1的链或单点,树形dp#include<bits/stdc++.h>using namespace std;const double eps=1e-10;const double pi=3.1415926535897932384626433832795;c原创 2017-10-14 00:22:11 · 462 阅读 · 0 评论