摘要:
晕死,一道简单的DP,竟然花了6个小时,没天理啊,真是傻到家了。现在把代码贴出来,以后可以参考一下。View Code 1//2#include<stdio.h>3#include<string.h>4#include<stdlib.h>56typedefstructnode7{8intx,y;9}Node;1011Nodenodes[310];1213intCompare(constvoid*p1,constvoid*p2);14intmain(intargc,char*argv[])15{16intt;1718scanf("%d",& 阅读全文