摘要:
DescriptionFarmer John loves to help the cows further their mathematical skills. He has promised them Hay-flavored ice cream if they can solve various mathematical problems.He said to Bessie, "Choose a six digit integer, and tell me what it is. Then extract the middle four digits. Square them a 阅读全文
posted @ 2013-07-25 10:42
T天天T
阅读(276)
评论(0)
推荐(0)
摘要:
虽然没有A过去,但是自己学会了结构体的排序与运用。#include #include #include #include #include using namespace std;structTeam{ int rank ; stringname; int count ; int time ; int gm ; int Qus[7];}; Teamt[25];bool cmp1(Teama1,Teama2){ if(a1.count != a2.count) return a1.count > a2.count; else { if(a1.time != a2.time) ret... 阅读全文
posted @ 2013-07-25 09:41
T天天T
阅读(184)
评论(0)
推荐(0)
浙公网安备 33010602011771号