自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 nyoj708

ones 时间限制:1000 ms | 内存限制:65535 KB 难度:3描述 Given a positive integer N (0<=N<=10000), you are to find an expression equals to N using only 1,+,*,(,).

2016-11-06 09:50:37 355

原创 hdu5391

Zball in Tina TownTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1930 Accepted Submission(s): 977Problem Description Tina Town is a frie

2016-11-05 09:40:32 406

原创 hdu5944

Fxx and stringProblem Description Young theoretical computer scientist Fxx get a string which contains lowercase letters only.The string S contains n lowercase letters S1S2…Sn.Now Fxx wants to know h

2016-10-30 17:59:28 349 1

原创 nyoj1100

题目链接[http://acm.nyist.net/JudgeOnline/problem.php?pid=1100]题意很好懂,bfs+优先队列#include<stdio.h>#include<string.h>#include<algorithm>#include<iostream>#include<math.h>#include<queue>#define maxn 1005u

2016-10-30 17:34:46 422

原创 nyoj488 素数环

素数环时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 有一个整数n,把从1到n的数字无重复的排列成环,且使每相邻两个数(包括首尾)的和都为素数,称为素数环。为了简便起见,我们规定每个素数环都从1开始。例如,下图就是6的一个素数环。输入 有多组测试数据,每组输入一个n,n=0表示输入结束。 输出 每组第一行输出对应的Case序号,从1开始。 如果存在满足题

2016-10-25 17:13:50 313

原创 nyoj1103 卡特兰数

区域赛系列一多边形划分 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 Give you a convex(凸边形), diagonal n-3 disjoint divided into n-2 triangles(直线), for different number of methods, such as n=5, there are 5 kinds of

2016-10-21 20:17:29 502

原创 nyoj 1057寻找最大数(三)

寻找最大数(三) 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 给出一个整数N,每次可以移动2个相邻数位上的数字,最多移动K次,得到一个新的整数。求这个新的整数的最大值是多少。输入 多组测试数据。 每组测试数据占一行,每行有两个数N和K (1 ≤ N≤ 10^18; 0 ≤ K ≤ 100). 输出 每组测试数据的输出占一行,输出移动后得到的新的整数的

2016-10-17 20:25:19 485

原创 我的第一篇博客

A. Checking the Calendartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given names of two days of

2016-10-09 09:01:35 438

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除