#include<iostream>#include<string>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;struct Student{ string stu_id; int finRank; int locNum; int locRank; int score;};bool greaterMark(const Student &stu1, Read More
posted @ 2012-12-10 16:39 Frank@609 Views(478) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>using namespace std;//本题容易出错的地方:是在17:00及以后开始服务的客户输出"Sorry",而不是17:00之前结束服务的输出"Sorry";//如客户cId是16:59开始服务,服务时间为2,则输出的应该是17:01,而不是"Sorry"。co Read More
posted @ 2012-12-10 11:31 Frank@609 Views(1449) Comments(1) Diggs(0) Edit