#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;const int SIZE = 100000+5;int arrCount[SIZE];int main(){ int N,i,x; vector< Read More
posted @ 2012-12-15 15:36 Frank@609 Views(435) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;struct Node{ char strNum[10]; bool isUsed;};//获得字典序最小的数字,321,32这种情况要特殊考虑。stri Read More
posted @ 2012-12-15 15:19 Frank@609 Views(298) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;bool greaterCmp(int a, int b){ return a>b;}int main(){ int NC,NP,i,j,x; ve Read More
posted @ 2012-12-15 10:38 Frank@609 Views(218) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;struct Account{ char chUser[15]; char chPass[15]; bool isModified;};bool modi Read More
posted @ 2012-12-15 10:09 Frank@609 Views(157) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;struct Student{ char chName[15]; char chId[15]; int iScore;};bool lessCmp(Stu Read More
posted @ 2012-12-15 09:34 Frank@609 Views(228) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;vector<char> res(int t){ vector<char> v; char map[] = {'0' Read More
posted @ 2012-12-14 16:59 Frank@609 Views(207) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;const int MAX_N = 10000+5;const int MAX_TABLE = 100+5;const int OFF_TIME = 13 Read More
posted @ 2012-12-14 16:31 Frank@609 Views(1284) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;const int MAX_N = 10000+5;const int MAX_WIN = 100+5;const int OFF_TIME = 9*60 Read More
posted @ 2012-12-11 18:23 Frank@609 Views(843) Comments(0) Diggs(0) Edit
#include<iostream>#include<cstdio>#include<string>#include<cstring>#include<queue>#include<vector>#include<cmath>#include<iomanip>#include<algorithm>using namespace std;struct Student{ char stu_id[15]; char strName[15]; int score;};Student arrStu Read More
posted @ 2012-12-11 18:22 Frank@609 Views(327) Comments(0) Diggs(0) Edit
#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