随笔分类 -  ACM进制与分数

POJ2562 UVA10035 ZOJ1874 Primary Arithmetic【进制+进位】
摘要:Primary ArithmeticTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11711 Accepted: 4289DescriptionChildren are taught to add ... 阅读全文

posted @ 2017-08-30 23:18 海岛Blog 阅读(178) 评论(0) 推荐(0)

HDU5670 Machine【进制】
摘要:MachineTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1586 Accepted Submis... 阅读全文

posted @ 2017-07-01 10:45 海岛Blog 阅读(180) 评论(0) 推荐(0)

UVa834 Continued Fractions【连分数】
摘要:问题链接:UVa834 Continued Fractions。问题简述:参见上述链接。问题分析:这是一个分数转换为连分数的问题。需要了解和掌握有关连分数的概念与表示方式,可以查看中英文版的维基百科的“连分数”。剩下的就是简单的分数计算问题了。程序说明:需要考虑特例的... 阅读全文

posted @ 2017-05-24 09:20 海岛Blog 阅读(233) 评论(0) 推荐(0)

UVALive3520 UVa1590 POJ2799 IP Networks【进制+位运算】
摘要:Regionals 2005 >> Europe - Northeastern问题链接:UVALive3520 UVa1590 POJ2799 IP Networks。问题简述:一个网络地址ip和一个子网掩码可以描述一个子网。子网是一个数,它是包含4组8位二进制数,总... 阅读全文

posted @ 2017-05-18 10:41 海岛Blog 阅读(206) 评论(0) 推荐(0)

UVALive3093 POJ2105 ZOJ2482 IP Address
摘要:IP AddressTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 20070 Accepted: 11589DescriptionSuppose you are reading byte strea... 阅读全文

posted @ 2017-05-14 19:48 海岛Blog 阅读(147) 评论(0) 推荐(0)

HDU1237 简单计算器【堆栈】
摘要:简单计算器Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21518 Accepted Submiss... 阅读全文

posted @ 2017-05-14 11:06 海岛Blog 阅读(221) 评论(0) 推荐(0)

UVALive2245 POJ1131 HDU1376 ZOJ1086 Octal Fractions【进制】
摘要:Regionals 2001 >> Africa/Middle East - South Africa问题链接:UVALive2245 POJ1131 HDU1376 ZOJ1086 Octal Fractions。问题简述:参见上述链接。问题分析:这是一个小数部分进... 阅读全文

posted @ 2017-04-18 22:27 海岛Blog 阅读(171) 评论(0) 推荐(0)

HDU3787 A+B
摘要:问题链接:HDU3787 A+B。问题简述:参见上述链接。问题分析: 这是一个字符串转整数问题,需要过滤其中的“,”。程序说明: 程序中,编写自己的字符串转整数的函数myatio()。AC的C++语言程序如下:/* HDU3787 A+B */#include #... 阅读全文

posted @ 2017-04-05 23:59 海岛Blog 阅读(112) 评论(0) 推荐(0)

UVALive3261 UVA1640 POJ2282 HDU1663 ZOJ2392 The Counting Problem【进制】
摘要:The Counting ProblemTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 4605 Accepted: 2363DescriptionGiven two integers a and b... 阅读全文

posted @ 2016-08-20 10:47 海岛Blog 阅读(146) 评论(0) 推荐(0)

UVALive3261 UVA1640 POJ2282 HDU1663 ZOJ2392 The Counting Problem【进制】
摘要:The Counting ProblemTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 4605 Accepted: 2363DescriptionGiven two integers a and b... 阅读全文

posted @ 2016-08-20 10:47 海岛Blog 阅读(155) 评论(0) 推荐(0)

POJ3094 UVALive3594 HDU2734 ZOJ2812 Quicksum【进制】
摘要:QuicksumTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16976 Accepted: 11781DescriptionA checksum is an algorithm that scan... 阅读全文

posted @ 2016-08-13 15:27 海岛Blog 阅读(158) 评论(0) 推荐(0)

POJ3094 UVALive3594 HDU2734 ZOJ2812 Quicksum【进制】
摘要:QuicksumTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16976 Accepted: 11781DescriptionA checksum is an algorithm that scan... 阅读全文

posted @ 2016-08-13 15:27 海岛Blog 阅读(167) 评论(0) 推荐(0)

导航