上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页

2019年2月13日

UVA11428 Cubes【数学+二分】

摘要: Given a positive integer N you will have to find two positive integers x and y such that: N = x\^3 − y\^3 Input The input file contains at most 100 li 阅读全文

posted @ 2019-02-13 09:19 新海岛Blog 阅读(109) 评论(0) 推荐(0)

UVA11203 Can you decide it for ME?【水题】

摘要: As you should know, a formal system consists of a set of axioms and set of inference or production rules . Theorems, in general, are results that can 阅读全文

posted @ 2019-02-13 07:38 新海岛Blog 阅读(224) 评论(0) 推荐(0)

UVA11089 Fi-binary Number【数学规律】

摘要: A Fi binary number is a number that contains only 0 and 1. It does not contain any leading 0. And also it does not contain 2 consecutive 1. The first 阅读全文

posted @ 2019-02-13 00:00 新海岛Blog 阅读(112) 评论(0) 推荐(0)

2019年2月12日

POJ2689 ZOJ1842 UVA10140 Prime Distance【筛选法】

摘要: "Prime Distance" Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25099 Accepted: 6567 Description The branch of mathematics called number t 阅读全文

posted @ 2019-02-12 23:20 新海岛Blog 阅读(84) 评论(0) 推荐(0)

UVA10789 Prime Frequency【筛选法】

摘要: Given a string containing only alpha numerals (0 9, A Z and a z) you have to count the frequency (the number of times the character is present) of all 阅读全文

posted @ 2019-02-12 17:49 新海岛Blog 阅读(129) 评论(0) 推荐(0)

UVA10780 Again Prime? No Time.【筛选法】

摘要: The problem statement is very easy. Given a number n you have to determine the largest power of m, not necessarily prime, that divides n!. Input The i 阅读全文

posted @ 2019-02-12 17:01 新海岛Blog 阅读(117) 评论(0) 推荐(0)

UVA10664 Luggage【水题】

摘要: Peter and his friends are on holiday, so they have decided to make a trip by car to know the north of Spain. They are seven people and they think that 阅读全文

posted @ 2019-02-12 11:03 新海岛Blog 阅读(134) 评论(0) 推荐(0)

UVA10050 Hartals【水题】

摘要: A social research organization has determined a simple set of parameters to simulate the behavior of the political parties of our country. One of the 阅读全文

posted @ 2019-02-12 08:47 新海岛Blog 阅读(78) 评论(0) 推荐(0)

UVALive2116 The Mobius Function【筛选法+莫比乌斯函数】

摘要: The Mobius function M(n) is defined on positive integers as follows: M(n) = 1 if n is 1. M(n) = 0 if any prime factor of n is contained in n more than 阅读全文

posted @ 2019-02-12 07:59 新海岛Blog 阅读(138) 评论(0) 推荐(0)

2019年2月11日

UVA278 UVALive5586 Chess【水题】

摘要: Almost everyone knows the problem of putting eight queens on an 8×8 chessboard such that no Queen can take another Queen. Jan Timman (a famous Dutch c 阅读全文

posted @ 2019-02-11 17:39 新海岛Blog 阅读(86) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页

导航

// ... runAll: function() { this.resetPreCode(); hljs.initHighlightingOnLoad(); // 重新渲染,添加语法高亮 hljs.initLineNumbersOnLoad(); // 为代码加上行号 } // ...