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

HDU 4247 A Famous ICPC Team:题目解答源码

Mr. B, Mr. G, Mr. M and their coach Professor S are planning their way to Warsaw for the ACM-ICPC World Finals. Each of the four has a square-shaped suitcase wi..
难度: 关注度:12 所属学科:C语言 - 基本概念

HDU 1987 Decoding:题目解答源码

Chip and Dale have devised an encryption method to hide their (written) text messages. They first agree secretly on two numbers that will be used as the number ..
难度: 关注度:10 所属学科:C++语言 - 程序控制结构

HDU 3788 ZOJ问题:题目解答源码

对给定的字符串(只包含'z','o','j'三种字符),判断他是否能AC。 是否AC的规则如下: 1. zoj能AC; 2. 若字符串形式为xzojx,则也能AC,其中x可..
难度: 关注度:11 所属学科:C++语言 - 程序控制结构

HDU 1664 Different Digits:题目解答源码

Given a positive integer n, your task is to find a positive integer m, which is a multiple of n, and that m contains the least number of different digits when r..
难度: 关注度:7 所属学科:C语言 - 编译预处理

HDU 2843 I Will Win:题目解答源码

Dumbear likes to play table tennis with his daughter � Quan. But Dumbear found that Quan played table tennis better and better recently, Dumbear wondered that Q..
难度: 关注度:6 所属学科:C语言 - 结构体与共用体

HDU 2565 放大的X:题目解答源码

请你编程画一个放大的’X’。 如3*3的’X’应如下所示: 输出描述对于每一个n打印一个规格为n * n放大的’X’;每组输出后面空一行。程序源码完整的源代码如下#include"io..
难度: 关注度:8 所属学科:C++语言 - 程序控制结构

HDU 5162 Jump and Jump...:题目解答源码

There are \(n\) kids and they want to know who can jump the farthest. For each kid, he can jump three times and the distance he jumps is maximum distance amount..
难度: 关注度:6 所属学科:C语言 - 基本概念

POJ 1084 Square Destroyer:题目解答源码

The left figure below shows a complete 3*3 grid made with 2*(3*4) (=24) matchsticks. The lengths of all matchsticks are one. You can find many squares of differ..
难度: 关注度:11 所属学科:C语言 - 文件操作

HDU 4705 Y:题目解答源码

输入描述 41 21 31 4 输出描述 1 Hint 1. The only set is {2,3,4}. 2. Please use #pragma comment(linker, "/STACK:16777216") 程序源码完整的源代码..
难度: 关注度:5 所属学科:C语言 - 编译预处理

POJ 2718 Smallest Difference:题目解答源码

Given a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in some order. The remaining..
难度: 关注度:7 所属学科:C语言 - 程序控制结构

HDU 1320 Inversion:题目解答源码

Let { A1,A2,...,An } be a permutation of the set{ 1,2,..., n}. If i < j and Ai > Aj then the pair (Ai,Aj) is called an "inversion" of the permut..
难度: 关注度:8 所属学科:C++语言 - 程序控制结构

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

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