当前位置:码农谷 > 算法与程序 > 程序
程序

POJ 3145 Harmony Forever:题目解答源码

We believe that every inhabitant of this universe eventually will find a way to live together in harmony and peace; that trust, patience, kindness and loyalty w..
难度: 关注度:178 所属学科:C语言 - 基本概念

HDU 4177 Avoiding a disaster:题目解答源码

Percy likes to be punctual. So much so that he always keeps three watches with him, so that he can be sure exactly what the time is. However, Percy's having..
难度: 关注度:100 所属学科:C语言 - 位运算

HDU 4064 Carcassonne:题目解答源码

Carcassonne is a tile-based board game for two to five players. Square tiles are printed by city segments,road segments and field segments. The rule of th..
难度: 关注度:107 所属学科:C语言 - 结构体与共用体

HDU 2573 Typing:题目解答源码

A boy named Pirates who wants to develop typing software finds that it’s hard to judge whether a letter is lowercase or uppercase. He searches lots of informati..
难度: 关注度:112 所属学科:C++语言 - 程序控制结构

ZOJ 3803 Function:题目解答源码

Let x is a binary number with n digits (AnAn-1An-2...A2A1). And we can encode it as G(x) = x ⊕ ⌊x / 2⌋ or as C(x) = (2n - x) mod 2n, where "⊕" is bitwise XOR op..
难度: 关注度:99 所属学科:C语言 - 数组与字符串

POJ 3176 Cow Bowling:题目解答源码

The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling-pin-li..
难度: 关注度:96 所属学科:C++语言 - 程序控制结构

HDU 3651 A Simple Problem:题目解答源码

There's one row of buttons lying on onmylove's laptop keyboard, which are used to input the numbers,just as shown in the picture: onmylove used to inp..
难度: 关注度:80 所属学科:C++语言 - 程序控制结构

HDU 2701 Lampyridae Teleportae:题目解答源码

The discovery of a remarkable new insect, the Lampyridae Teleportae, more commonly known as the teleporting firefly, has sparked a no-less-remarkable number of ..
难度: 关注度:89 所属学科:C语言 - 指针

HDU 5150 Sum Sum Sum:题目解答源码

We call a positive number $X$ P-number if there is not a positive number that is less than $X$ and the greatest common divisor of these two numbers is bigger th..
难度: 关注度:83 所属学科:C语言 - 编译预处理

HDU 4237 The Rascal Triangle:题目解答源码

The Rascal Triangle definition is similar to that of the Pascal Triangle. The rows are numbered from the top starting with 0. Each row n contains n+1 numbers in..
难度: 关注度:83 所属学科:C语言 - 结构体与共用体

HDU 1650 Eeny Meeny:题目解答源码

In darkestlived a tribe called the ``Eeny Meenys''. They got this name from their way of choosing a chief for a year. It appears that a newspaper report..
难度: 关注度:83 所属学科:C++语言 - 程序控制结构

关注微信,获得更多免费资源
关于我们   |   免责声明   |   联系我们   |   网站地图   |   HR交流群   |   学生交流群   |   教师交流群

码农谷   版权所有 © 2015-2017   湘ICP备16018319号-1