摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 map ToHour; 9 int i;10 for(i=0;i='A'&&line1[i]='A'... 阅读全文
posted @ 2015-01-31 23:46 小爷 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int main() 3 { 4 int ans1[3]; 5 int ans2[3]; 6 while(scanf("%d.%d.%d %d.%d.%d",&ans1[0],&ans1[1],&ans1[2],&ans2[0],&ans2[1],&a... 阅读全文
posted @ 2015-01-31 23:45 小爷 阅读(158) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ int n,i; while(scanf("%d",&n)!=EOF) { char ManID[11]="",FelID[11]="",ManName[11],FelName[11]; char TemID[11],TemNa... 阅读全文
posted @ 2015-01-31 23:43 小爷 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 struct MyStruct 4 { 5 char ID[11]; 6 char Password[11]; 7 bool changed; 8 }; 9 int main()10 {11 int n,i,j;1... 阅读全文
posted @ 2015-01-31 23:42 小爷 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int R,G,B,i; 8 map mm; 9 for(i=0;i <= 9;i++)10 mm[i]='0'+i;1... 阅读全文
posted @ 2015-01-31 23:41 小爷 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 3 struct MyStruct 4 { 5 int exp; 6 double coe; 7 }; 8 9 int main()10 {11 int k1,k2,i,j;12 MyStruct ans1[10],ans2[10];... 阅读全文
posted @ 2015-01-31 23:40 小爷 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 struct stu 8 { 9 char ID[16];10 int GetTime[3];11 int LeaveT... 阅读全文
posted @ 2015-01-31 23:38 小爷 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 string str; 9 char num[10][6]={"zero","one","two","three","f... 阅读全文
posted @ 2015-01-31 23:37 小爷 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int main() 3 { 4 int n,m,a,b,tem,pre,p; 5 int i,j; 6 int ans[100005]; 7 while(scanf("%d",&n)!=EOF) 8 { 9 ans[0]=0;... 阅读全文
posted @ 2015-01-31 23:34 小爷 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 int main() 4 { 5 long long a,b,c,sum; 6 int n,i; 7 while(scanf("%d",&n)!=EOF) 8 { 9 for(i=1;i0&&b>0... 阅读全文
posted @ 2015-01-31 23:32 小爷 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 时间限制:1 秒内存限制:128 兆特殊判题:否提交:1431解决:641题目描述:FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his f... 阅读全文
posted @ 2015-01-31 07:38 小爷 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 时间限制:1 秒内存限制:128 兆特殊判题:否提交:1405解决:752题目描述:“今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%...”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视作为球迷,一定想看尽量多的完整的比赛,当... 阅读全文
posted @ 2015-01-31 07:37 小爷 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+B where A and B are two polynomials.InputEach input fi... 阅读全文
posted @ 2015-01-31 07:34 小爷 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your job is to count those famil... 阅读全文
posted @ 2015-01-31 07:33 小爷 阅读(163) 评论(0) 推荐(0) 编辑