摘要:        
题目链接——〉http://acm.nefu.edu.cn/JudgeOnline/problem/137.jsp#include<iostream>#include<stdlib.h>usingnamespacestd;structUrl{intno,rel;stringurl;}page[10];intcmp(constvoid*a,constvoid*b){ //rel从大到小,no从小到大structUrl*c=(Url*)a;structUrl*d=(Url*)b;if(c->rel!=d->rel)returnd->rel-c->re    阅读全文
        posted @ 2011-08-26 16:26
追逐.
阅读(1114)
评论(0)
推荐(0)
            
        
        
摘要:        
题意: 给定N个挤奶工取奶的起始时间和结束时间,求其中至少一个在取奶的最长时间和都没在取奶的最长时间。起止时间为5:00后以秒为单位的时间点,一个挤奶工对应一头奶牛。 又一道让BUG给挂掉的题,这次还更无语。input4100 200201 301302 402403 503output100 1 我运行的确实是"100 1"啊,可那测评系统非说我运行的是"100 0",无奈... > Run 2: Execution error: Your program did not produce an answer that was judged as     阅读全文
        posted @ 2011-08-26 15:57
追逐.
阅读(276)
评论(0)
推荐(0)
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号