06 2017 档案
摘要:1 int n,dg[K],topo[K]; 2 vectormp[K]; 3 int topo_sort(void) 4 { 5 queueq; 6 for(int i=1;i1) res=0; 12 int x=q.front();q.pop(); 13 topo[cnt++]=x; 14 for(int i=0;i...
阅读全文
摘要:地址:http://acm.uestc.edu.cn/#/problem/show/1638 题目: 红藕香残玉簟秋,轻解罗裳,独上兰舟。 红藕香残玉簟秋,轻解罗裳,独上兰舟。 Time Limit: 4000/2000MS (Java/Others) Memory Limit: 65535/655
阅读全文
摘要:地址:http://poj.org/problem?id=3159 题目: Candies Time Limit: 1500MS Memory Limit: 131072K Total Submissions: 31463 Accepted: 8782 Description During the
阅读全文
摘要:地址:http://poj.org/problem?id=1364 题目: King Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 13466 Accepted: 4793 Description Once, in one ki
阅读全文