上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页

2017年6月25日

NUC1177 排序【排序】

摘要: 排序时间限制: 1000ms 内存限制: 65536KB通过次数: 1总提交次数: 1问题描述排序正整数,按从小到大的顺序输出。输入描述输入数据只有1组第一行一个正整数n(1 ≤ n ≤ 100)下边n行每行一个正整数。输出描述从小到大输出排序后的结果样例输入5310... 阅读全文

posted @ 2017-06-25 05:18 海岛Blog 阅读(149) 评论(0) 推荐(0)

NUC1474 Ants【水题】

摘要: Ants时间限制: 1000ms 内存限制: 65535KB通过次数: 1总提交次数: 1问题描述An army of ants walk on a horizontal pole of length l cm, each with a constant speed ... 阅读全文

posted @ 2017-06-25 05:08 海岛Blog 阅读(119) 评论(0) 推荐(0)

NUC1373 Bank Interest【水题】

摘要: Bank Interest时间限制: 1000ms 内存限制: 65535KB通过次数: 1总提交次数: 1问题描述Farmer John made a profit last year! He would like to invest it well but won... 阅读全文

posted @ 2017-06-25 05:01 海岛Blog 阅读(144) 评论(0) 推荐(0)

2017年6月24日

UVALive2953 POJ1775 ZOJ2358 Sum of Factorials【打表+穷尽搜索】

摘要: Sum of FactorialsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 13792 Accepted: 4537DescriptionJohn von Neumann, b. Dec. 28... 阅读全文

posted @ 2017-06-24 10:40 海岛Blog 阅读(168) 评论(0) 推荐(0)

NUC1013 阶乘结果末尾有多少零【分析思维】

摘要: 阶乘结果末尾有多少零时间限制: 1000ms 内存限制: 65536KB通过次数: 4总提交次数: 14问题描述1000的阶乘1*2*3*...*1000结果是一个超过2500位的数,求这么大的数末尾有多少个连续的零。输入描述本题有多组测试数据,每组测试数据占一行。 ... 阅读全文

posted @ 2017-06-24 09:15 海岛Blog 阅读(173) 评论(0) 推荐(0)

UVALive2158 POJ1401 HDU1124 ZOJ2024 Factorial【分析思维】

摘要: FactorialTime Limit: 1500MS Memory Limit: 65536KTotal Submissions: 16314 Accepted: 10052DescriptionThe most important part of a GSM ne... 阅读全文

posted @ 2017-06-24 09:04 海岛Blog 阅读(193) 评论(0) 推荐(0)

NUC1419 位操作【位运算+STL】

摘要: 位操作时间限制: 8000ms 内存限制: 65535KB通过次数: 2总提交次数: 2问题描述假设你工作在一个32位的机器上,你需要将某一个外设寄存器的第X位设置成0(最低位为第0位,最高位为第31位),将第Y位开始的连续三位设置成110(从高位到低位的顺序),而其... 阅读全文

posted @ 2017-06-24 07:42 海岛Blog 阅读(150) 评论(0) 推荐(0)

NUC1422 字母旋转游戏【水题】

摘要: 字母旋转游戏时间限制: 1000ms 内存限制: 65535KB通过次数: 2总提交次数: 5问题描述给定两个整数M,N,生成一个M*N的矩阵,矩阵中元素取值为A至Z的26个字母中的一个,A在左上角,其余各数按顺时针方向旋转前进,依次递增放置,当超过26时又从A开始填... 阅读全文

posted @ 2017-06-24 07:37 海岛Blog 阅读(323) 评论(0) 推荐(0)

2017年6月22日

NUC1421 时间日期格式转换【日期计算】

摘要: 时间日期格式转换时间限制: 1000ms 内存限制: 65535KB通过次数: 1总提交次数: 1问题描述世界各地有多种格式来表示日期和时间。对于日期的常用格式,在中国常采用格式的是“年年年年/月月/日日”或写为英语缩略表示的”yyyy/mm/dd”,此次编程大赛的启... 阅读全文

posted @ 2017-06-22 07:55 海岛Blog 阅读(370) 评论(0) 推荐(0)

NUC1077 Humble Numbers【数学计算+打表】

摘要: Humble Numbers时间限制: 1000ms 内存限制: 65536KB通过次数: 1总提交次数: 1问题描述A number whose only prime factors are 2,3,5 or 7 is called a humble number.... 阅读全文

posted @ 2017-06-22 07:46 海岛Blog 阅读(275) 评论(0) 推荐(0)

NUC1657 All in All【字符串匹配】

摘要: All in All时间限制: 1000ms 内存限制: 30000KB通过次数: 1总提交次数: 1问题描述You have devised a new encryption technique which encodes a message by insertin... 阅读全文

posted @ 2017-06-22 07:38 海岛Blog 阅读(167) 评论(0) 推荐(0)

POJ3748 位操作【位运算+STL】

摘要: 位操作Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9433 Accepted: 3796Description假设你工作在一个32位的机器上,你需要将某一个外设寄存器的第X位设置成0(最低位为第0... 阅读全文

posted @ 2017-06-22 00:10 海岛Blog 阅读(184) 评论(0) 推荐(0)

2017年6月21日

POJ3750 小孩报数问题【模拟】

摘要: 小孩报数问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14909 Accepted: 6647Description有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个... 阅读全文

posted @ 2017-06-21 20:02 海岛Blog 阅读(206) 评论(0) 推荐(0)

HDU1492 The number of divisors(约数) about Humble Numbers【约数】

摘要: The number of divisors(约数) about Humble NumbersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Tota... 阅读全文

posted @ 2017-06-21 06:24 海岛Blog 阅读(185) 评论(0) 推荐(0)

POJ2247 HDU1058 UVA443 ZOJ1095 Humble Numbers【数学计算+打表】

摘要: Humble NumbersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10731 Accepted: 5015DescriptionA number whose only prime facto... 阅读全文

posted @ 2017-06-21 05:52 海岛Blog 阅读(219) 评论(0) 推荐(0)

2017年6月20日

NUC1372 Bull Math【大数】

摘要: Bull Math时间限制: 1000ms 内存限制: 65535KB通过次数: 1总提交次数: 1问题描述Bulls are so much better at math than the cows. They can multiply huge integers ... 阅读全文

posted @ 2017-06-20 22:38 海岛Blog 阅读(177) 评论(0) 推荐(0)

NUC1333 Knight Moves【DFS】

摘要: Knight Moves时间限制: 1000ms 内存限制: 65535KB问题描述A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to fin... 阅读全文

posted @ 2017-06-20 00:38 海岛Blog 阅读(209) 评论(0) 推荐(0)

2017年6月19日

NUC1003 Hangover【数学计算】

摘要: Hangover时间限制: 1000ms 内存限制: 65536KB问题描述 How far can you make a stack of cards overhang a table? If you have one card, you can create... 阅读全文

posted @ 2017-06-19 00:19 海岛Blog 阅读(263) 评论(0) 推荐(0)

NUC1011 Financial Management【数学计算】

摘要: Financial Management时间限制: 1000ms 内存限制: 10000KB问题描述Larry graduated this year and finally has a job. He's making a lot of money, but som... 阅读全文

posted @ 2017-06-19 00:13 海岛Blog 阅读(165) 评论(0) 推荐(0)

2017年6月17日

UVALive2287 POJ1047 HDU1313 ZOJ1073 Round and Round We Go【大数+数学计算】

摘要: Round and Round We GoTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12934 Accepted: 6050DescriptionA cyclic number is an in... 阅读全文

posted @ 2017-06-17 19:42 海岛Blog 阅读(209) 评论(0) 推荐(0)

HDU1559 最大子矩阵【DP】

摘要: 最大子矩阵Time Limit: 30000/10000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5010 Accepted Submis... 阅读全文

posted @ 2017-06-17 18:21 海岛Blog 阅读(205) 评论(0) 推荐(0)

51Nod-1050 循环数组最大段和【最大子段和+最小子段和+DP】

摘要: 1050 循环数组最大子段和基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题N个整数组成的循环序列a[1],a[2],a[3],…,a[n],求该序列如a[i]+a[i+1]+…+a[j]的连续的子段和的最大值(循环序列是指n个数围成... 阅读全文

posted @ 2017-06-17 11:09 海岛Blog 阅读(261) 评论(0) 推荐(0)

51Nod-1051 最大子矩阵和【最大子段和+DP】

摘要: 1051 最大子矩阵和基准时间限制:2 秒 空间限制:131072 KB 分值: 40 难度:4级算法题一个M*N的矩阵,找到此矩阵的一个子矩阵,并且这个子矩阵的元素的和是最大的,输出这个最大的值。例如:3*3的矩阵:-1 3 -12 -1 3-3 1 2和最大的子矩... 阅读全文

posted @ 2017-06-17 08:28 海岛Blog 阅读(218) 评论(0) 推荐(0)

UVALive2288 POJ1050 HDU1081 ZOJ1074 To The Max【最大子段和+DP】

摘要: To the MaxTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 48948 Accepted: 25895DescriptionGiven a two-dimensional array of p... 阅读全文

posted @ 2017-06-17 08:02 海岛Blog 阅读(169) 评论(0) 推荐(0)

UVALive2363 POJ1005 HDU1065 ZOJ1049 I Think I Need a Houseboat【数学计算】

摘要: I Think I Need a HouseboatTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 104215 Accepted: 45370DescriptionFred Mapper is co... 阅读全文

posted @ 2017-06-17 01:19 海岛Blog 阅读(152) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页

导航