首页 > TAG信息列表 > A1080
PAT A1080(部分测试点无法通过)
#include<iostream> #include<algorithm> #include<vector> using namespace std; const int maxn = 40010; struct Stu{ int id, ge, gi, total, rankPos; int pre[6]; }stu[maxn]; vector<int> school; vector<int> admit[100]; bool cPAT甲级——A1080 Graduate Admission
It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate the admission procedure. Each applicant will have to provide two graA1080 Graduate Admission (30 分)
#include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <algorithm> #include <cmath> #include <cctype> using namespace std; struct Stu{ int no, Ge, Gi, r; int choice[7]; }stu[40010];