# SPOJ-CODESPTB Insertion Sort【插入排序】

Insertion Sort SPOJ - CODESPTBInsertion Sort is a classical sorting technique. One variant of insertion sort works as follows when sorting an array a...

# AOJ-ALDS1_1_A Insertion Sort【插入排序】

Insertion Sort Aizu - ALDS1_1_AWrite a program of the Insertion Sort algorithm which sorts a sequence A in ascending order. The algorithm should be b...

# UVA583 UVALive5406 Prime Factors【素数因子＋筛选法】

Webster defines prime as:prime (pr¯im) n. [ME, fr. MF, fem. of prin first, L primus; akin to L prior] 1: first in time: original 2 a: having no facto...

# POJ2407 ZOJ1906 UVA10229 Relatives【欧拉函数＋数论】

RelativesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 15625 Accepted: 7932DescriptionGiven n, a positive integer, how many positive inte...

# UVA355 UVALive5249 The Bases Are Loaded【进制】

Write a program to convert a whole number specified in any base (2..16) to a whole number in any other base (2..16). “Digits” above 9 are represented...

# AOJ-ALDS1_1_D Maximum Profit【最值+水题】

Maximum Profit Aizu - ALDS1_1_D You can obtain profits from foreign exchange margin transactions. For example, if you buy 1000 dollar at a rate of 10...

# UVA900 Brick Wall Patterns【递推】

If we want to build a brick wall out of the usual size of brick which has a length twice as long as its height, and if our wall is to be two units ta...

# UVA12578 10:6:2【数学】

The national flag of Bangladesh is bottle green in color and rectangular in size with the length (L) to width ratio of 10:6. It bears a red circle on...

# UVA944 Happy Numbers【数学】

Let the sum of the squares of the digits of a positive integer s0 be represented by s1. In a similar way, let the sum of the squares of the digits of...

# UVA913 Joana and the Odd Numbers【数学】

Joana loves playing with odd numbers. In the other day, she started writing, in each line, an odd number of odd numbers. It looked as follows:13 5 79...

# UVA880 Cantor Fractions【数学】

In the late XIXth century the German mathematician George Cantor argued that the set of positive fractions Q+ is equipotent to the set of positive in...

# POJ1306 UVA369 UVALive5341 Combinations【组合计算】

Computing the exact number of ways that N things can be taken M at a time can be a great challenge when N and/or M become very large. Challenges are ...

# UVA343 UVALive5451 What Base Is This?【进制】

In positional notation we know the position of a digit indicates the weight of that digit toward the value of a number. For example, in the base 10 n...

# UVA294 UVALive5595 Divisors【正因子数】

Mathematicians love all sorts of odd properties of numbers. For instance, they consider 945 to be an interesting number, since it is the first odd nu...

# UVA264 UVALive5373 UVALive3034 Count on Cantor【数学】

One of the famous proofs of modern mathematics is Georg Cantor’s demonstration that the set of rational numbers is enumerable. The proof works by usi...

# POJ1320 UVA138 Street Numbers【Pell方程+数学】

Street NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3055 Accepted: 1712DescriptionA computer programmer lives in a street with ho...

# UVA11479 Is this the easiest problem?【三角形判定+数学】

A triangle is a geometric shape with three positive sides. However, any given three sides won’t necessarily form a triangle. The three sides must for...

# POJ2109 ZOJ2486 UVA113 UVALive3098 Power of Cryptography【数学】

Power of CryptographyTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 26661 Accepted: 13325DescriptionCurrent work in cryptography involves ...

个人资料
等级：
访问量： 108万+
积分： 2万+
排名： 357
文章分类
博客专栏
 ACM题解 文章：589篇 阅读：402524 趣味程序 文章：40篇 阅读：34140 大学计算机读本 文章：14篇 阅读：19683 基础程序 文章：15篇 阅读：14003 CCF认证题解 文章：45篇 阅读：140703 Project Euler问题程序解 文章：39篇 阅读：15990 NOIP赛题解 文章：19篇 阅读：9450
最新评论