摘要:
#include#include#include#include#include#includeusing namespace std;const int maxe = 50000;const int maxn = 17;const int INF = 0x3f3f3f;vector l[maxn];vector r[maxn];char s[maxn];inline int cal(int a,int b){ int ret = 0; for(int i=a;i=2;i--){ for(int j=N+1;j>i;j--){ ... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std;const int maxe = 50000;const int maxn = 100500;const int INF = 0x3f3f3f;double dp[maxn];int map[maxn];int main(){ //freopen("E:\\acm\\input.txt","r",stdin); int N,M; while(cin>>N>>M &am 阅读全文