码迷,mamicode.com
首页 >  
搜索关键字:nyoj 624 笨蛋的难题一    ( 1824个结果
NYoj 685 查找字符串
描述小明得到了一张写有奇怪字符串的纸,他想知道一些字符串出现了多少次,但这些字符串太多了,他想找你帮忙,你能帮他吗?输入字符包括所有小写字母、‘@’、‘+’。输入第一行包含一个整数T(T 2 #include 3 #include 4 #include 5 #include 6 #inclu...
分类:其他好文   时间:2015-12-02 20:29:46    阅读次数:147
nyoj 138 找球号(二)
找球号(二)描述在某一国度里流行着一种游戏。游戏规则为:现有一堆球中,每个球上都有一个整数编号i(0#include#include#include#includeusing namespace std;int a[3300500];void add(int n){ int x=n/32; ...
分类:其他好文   时间:2015-11-28 18:10:54    阅读次数:160
nyoj 69 数的长度
数的长度时间限制:3000ms | 内存限制:65535KB难度:1描述 N!阶乘是一个非常大的数,大家都知道计算公式是N!=N*(N-1)······*2*1.现在你的任务是计算出N!的位数有多少(十进制)?输入首行输入n,表示有多少组测试数据(n#include#include#define P...
分类:其他好文   时间:2015-11-25 23:32:58    阅读次数:156
nyoj 927 The partial sum problem(dfs)
描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integers and the sum of...
分类:其他好文   时间:2015-11-21 22:44:40    阅读次数:280
nyoj 43 24 Point game(dfs暴力)
描述There is a game which is called 24 Point game.In this game , you will be given some numbers. Your task is to find an expression which have all the g...
分类:其他好文   时间:2015-11-21 19:51:35    阅读次数:191
nyoj 325 zb的生日(dfs)
描述今天是阴历七月初五,acm队员zb的生日。zb正在和C小加、never在武汉集训。他想给这两位兄弟买点什么庆祝生日,经过调查,zb发现C小加和never都很喜欢吃西瓜,而且一吃就是一堆的那种,zb立刻下定决心买了一堆西瓜。当他准备把西瓜送给C小加和never的时候,遇到了一个难题,never和C...
分类:其他好文   时间:2015-11-21 14:22:51    阅读次数:170
NYOJ 214 单调递增子序列(二)
地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=214
分类:其他好文   时间:2015-11-10 21:06:19    阅读次数:188
nyoj 86 找球号(一)
找球号(一)描述在某一国度里流行着一种游戏。游戏规则为:在一堆球中,每个球上都有一个整数编号i(0 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 int m,n; 9 setS;10 sc...
分类:其他好文   时间:2015-10-30 20:25:23    阅读次数:181
NYOJ 1076 计划数(公式 要么 递归)
方案数量时间限制:1000ms | 内存限制:65535KB难度:2描写叙述给出一个N*M的棋盘。左下角坐标是(0。0)。右上角坐标是(N,M),规定每次仅仅能向上或者向右走。问从左下角走到右上角,一共同拥有多少种方案。上图是一个4*3的棋盘。输入多组測试数据。每组输入两个整数N,M(0≤N,M≤3...
分类:其他好文   时间:2015-10-26 12:08:38    阅读次数:187
NYOJ 1241 Interference Signal
Distribution描述One day , Wang and Dong in the Dubai desert expedition, discovered an ancient castle. Fortunately, they found a map of the castle.The ma...
分类:其他好文   时间:2015-10-17 23:35:51    阅读次数:219
1824条   上一页 1 ... 54 55 56 57 58 ... 183 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!