该文被密码保护。 阅读全文
posted @ 2016-11-16 23:59 PirateLHX 阅读(4) 评论(0) 推荐(0)
摘要: #include using namespace std; int main() { int N,M; char comd; int p,q; cin>>N>>M; int gpa[N]; int max; for(int i=0;i>gpa[i]; for(int t=0;t>comd>>p>>q; if(comd=='Q... 阅读全文
posted @ 2016-11-16 23:54 PirateLHX 阅读(83) 评论(0) 推荐(0)
摘要: #include #include using namespace std; int main() { string s; int i,j; string result=""; cin>>s; int len=s.length(); int a[len]; for(i=0;i<len;i++) a[i]=1; fo... 阅读全文
posted @ 2016-11-16 23:54 PirateLHX 阅读(143) 评论(0) 推荐(0)
摘要: #include #include using namespace std; int convert(char a) { int flag=-1; if(a=='A'||a=='B'||a=='C'||a=='2') flag=2; if(a=='D'||a=='E'||a=='F'||a=='3') flag=3; if(a=='G'||... 阅读全文
posted @ 2016-11-16 23:52 PirateLHX 阅读(132) 评论(0) 推荐(0)