POJ 3311 Hie with the Pie(Floyd + 状压dp)
思路:AC代码:#include <iostream>
#include <cstdio>
#include <algorithm>
#include <string.h>
#include <vector>
using namespace std;int n;
int dp[(1L<<11)+10][14];
int a[22][22];
void floyd(){
for(int k =
原创
2017-05-02 22:05:51 ·
205 阅读 ·
0 评论