
数论
滑头鬼之亨
Frankiller
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva 579 - ClockHands
ClockHands The medieval interest in mechanical contrivances is well illustrated by the development of the mechanical clock, the oldest of which is driven by weights and controlled by a verge原创 2012-07-07 11:52:23 · 998 阅读 · 0 评论 -
uva 350 - Pseudo-Random Numbers
Pseudo-Random Numbers Computers normally cannot generate really random numbers, but frequently are used to generate sequences of pseudo-random numbers. These are generated by some algor原创 2012-07-02 20:16:28 · 842 阅读 · 0 评论 -
uva 408 - Uniform Generator
Uniform Generator Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the form where `` " is the modulus operator原创 2012-07-02 19:37:23 · 896 阅读 · 0 评论 -
uva 568 - Just the Facts
Just the Facts The expression N!, read as ``N factorial," denotes the product of the firstN positive integers, where N is nonnegative. So, for example, N N! 0 1 1原创 2012-06-30 21:06:25 · 697 阅读 · 0 评论 -
uva 550 - Multiplying by Rotation
Multiplying by Rotation Warning: Not all numbers in this problem are decimal numbers! Multiplication of natural numbers in general is a cumbersome operation. In some cases however原创 2012-06-30 20:08:22 · 889 阅读 · 0 评论 -
uva 10110 - Light, more light
Light, more light The Problem There is man named "mabu" for switching on-off light in our University. He switches on-off the lights in a corridor. Every bulb has its own toggle switch. That原创 2012-06-30 18:53:18 · 1037 阅读 · 0 评论 -
uva 575 - Skew Binary
Skew Binary When a number is expressed in decimal, the k-th digit represents a multiple of 10k. (Digits are numbered from right to left, where the least significant digit is number 0.) For example,原创 2012-06-30 11:29:45 · 733 阅读 · 0 评论 -
uva 107 - The Cat in the Hat
The Cat in the Hat Background (An homage to Theodore Seuss Geisel) The Cat in the Hat is a nasty creature, But the striped hat he is wearing has a rather nifty feature. With one原创 2012-07-08 16:56:48 · 2620 阅读 · 1 评论 -
uva 10061 - How many zero's and how many digits ?
Problem G How many zeros and how many digits? Input: standard input Output: standard output Given a decimal integer number you will have to find out how many trailing zeros will be there in i原创 2012-07-09 11:03:50 · 1580 阅读 · 0 评论 -
uva 10879 - Code Refactoring
Problem B Code Refactoring Time Limit: 2 seconds "Harry, my dream is a code waiting to be broken. Break the code, solve the crime." Agent Cooper Several algorithms in mode原创 2012-07-06 20:53:56 · 693 阅读 · 0 评论 -
uva 10392 - Factoring Large Numbers
Problem F: Factoring Large Numbers One of the central ideas behind much cryptography is that factoring large numbers is computationally intensive. In this context one might use a 100 digit number t原创 2012-07-02 20:44:10 · 807 阅读 · 0 评论