自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Grant Yuan的专栏

欢迎访问我的新blog:http://www.cnblogs.com/codeyuan/

  • 博客(178)
  • 资源 (1)
  • 收藏
  • 关注

原创 HDU 1162 Prim

Eddy's pictureTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7287 Accepted Submission(s): 3689Problem DescriptionEddy begins to like p

2015-01-26 21:55:29 596

原创 HDU 1142

A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5999 Accepted Submission(s): 2215Problem DescriptionJimmy expe

2015-01-26 19:24:36 625

原创 POJ 2240 Bellman_Ford

ArbitrageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16429 Accepted: 6909DescriptionArbitrage is the use of discrepancies in currency exchange rates to transform one unit of a

2015-01-26 16:11:06 623

原创 POJ 1125 Floyd

Stockbroker GrapevineTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 27978 Accepted: 15528DescriptionStockbrokers are known to overreact to rumours. You have been contracted to dev

2015-01-26 09:43:07 655

原创 POJ 2253 Dijkstra

FroggerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 27128 Accepted: 8824DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who

2015-01-25 22:08:39 578

原创 POJ 3259 Bellman_Ford

WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 32474 Accepted: 11808DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes.

2015-01-25 19:45:54 508

原创 POJ 1860 Bellman_Ford

Currency ExchangeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 21092 Accepted: 7554DescriptionSeveral currency exchange points are working in our city. Let us suppose that each p

2015-01-25 18:42:06 508

原创 浙大计算机研究生复试上机考试-2010年 最短路径问题

最短路径问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14405 Accepted Submission(s): 4408Problem Description给你n个点,m条无向边,每条边都有长度d和花费p,给你起

2015-01-23 15:10:03 882

原创 浙大计算机研究生复试上机考试-2010年 zoj问题

ZOJ问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2984 Accepted Submission(s): 906Problem Description对给定的字符串(只包含'z','o','j'三种字符),判断他

2015-01-22 10:12:14 911

原创 浙大计算机研究生复试上机考试-2010年

二叉搜索树Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3007 Accepted Submission(s): 1310Problem Description判断两序列是否为同一二叉搜索树序列Input

2015-01-21 21:59:11 842

原创 HDU 1885 BFS+状态压缩

Key TaskTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1239    Accepted Submission(s): 495Problem DescriptionThe Czech Technical Un

2014-11-27 09:21:19 725

原创 HDU 1429 BFS+状态压缩

胜利大逃亡(续)Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5461 Accepted Submission(s): 1878Problem DescriptionIgnatius再次被魔王抓走了(搞不懂他咋这么讨魔王

2014-11-26 20:55:17 468

原创 HDU 1195

HDU 1195双端BFS/************************************************************************* > File Name: 2.cpp > Author:yuan > Mail: > Created Time: 2014年11月25日 星期二 23时33分09秒*********************

2014-11-26 11:19:20 787

原创 HDU 1175

HDU 1175简单 BFS/************************************************************************* > File Name: 1.cpp > Author:yuan > Mail: > Created Time: 2014年11月25日 星期二 19时40分03秒 *************

2014-11-25 21:53:01 595

原创 第一轮 D

VirusTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDFVirus We have a log file, which is a sequence of recorded events. Naturally,

2014-11-10 23:22:42 457

原创 第一轮 J

MetroTime Limit:500MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uSubmitStatusDescription Many of SKB Kontur programmers like to get to work by Metro because the main office is situated qu

2014-11-10 23:21:12 715

原创 第一轮 M

Milliard Vasya's FunctionTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionVasya is the beginning mathematician. He decided to make an impor

2014-11-10 23:18:51 571

原创 第一轮 L

Scientific ConferenceTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionFunctioning of a scientific conference is usually divided into severa

2014-11-09 23:40:46 518

原创 第一轮 K

Maximum SumTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven a 2-dimensional array of positive and negative integers, find the sub-rect

2014-11-09 23:04:23 482

原创 第一轮 I

K-based NumbersTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionLet’s consider K-based numbers, containing exactly N digits. We define a nu

2014-11-09 22:16:17 560

原创 第一轮 H

FlagsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOn the Day of the Flag of Russia a shop-owner decided to decorate the show-window of

2014-11-09 21:13:14 603

原创 第一轮 F

Multiple of 17Time Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDF Multiple of 17 Theorem: If you drop the last digit d of a

2014-11-09 13:13:51 598

原创 第一轮 E

Homework CheckerTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDF Homework Checker Your younger brother has just finished

2014-11-09 12:47:12 580

原创 第一轮 C

最短的名字Time Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDF Shortest Names In a strange village, people have very long names.

2014-11-09 10:11:30 604

原创 12杭州online E 模拟

Finding crossesTime Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe Nazca Lines are a series of ancient geoglyphs located in the Nazca Deser

2014-11-08 21:21:49 779

原创 第一轮 B

机器人的指令Time Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDF Robot Instructions You have a robot standing on the origin of x a

2014-11-08 19:01:17 536

原创 第一轮 A

The Coco-Cola StoreTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionDownload as PDF The Coco-Cola Store Once upon a time, there is a spe

2014-11-08 18:33:56 509

原创 HDU 1426 数独

HDU 1426/************************************************************************* > File Name: shudu.cpp > Author:yuan > Mail: > Created Time: 2014年11月06日 星期四 14时35分05秒 *********************

2014-11-06 22:27:09 792

原创 HDU 1010 深搜+减枝

HDU 1010/************************************************************************* > File Name: HDU1010.cpp > Author:yuan > Mail: > Created Time: 2014年11月05日 星期三 22时22分56秒 *******************

2014-11-06 07:51:17 733

原创 POJ 1833 生成排列

题目链接:POJ 1833/************************************* author : Grant Yuan* time : 2014/10/19 16:38* source : POJ 1833*

2014-10-19 16:42:00 737

原创 HDU 1023 Catalan数+高精度

链接:HDU 1023/**************************************** * author : Grant Yuan * time : 2014/10/19 15:51 * source : HDU 1023 * algorithm :

2014-10-19 15:49:31 812

原创 POJ 2084 Catalan数+高精度

POJ 2084/**************************************** * author : Grant Yuan * time : 2014/10/19 15:42 * source : POJ 2084 * algorithm: Catal

2014-10-19 15:44:08 674

原创 POJ 1019 组合计数

链接:POJ 1019/***************************************** author : Grant Yuan time : 2014/10/19 14:38 source : POJ 1019 algorithm: 组合计数********************

2014-10-19 14:34:36 700

原创 POJ 3252 组合计数

Round NumbersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9149 Accepted: 3248DescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Pa

2014-10-16 17:40:40 725

原创 SPJ 与 Student 数据库的创建于数据插入

create database SPJon primary( name='SPJ', filename='D:\test\SPJ.mdf', size=10mb, maxsize=50mb, filegrowth=5% )log on( name='SPJ_log', filename='D:\test\SPJ_log.ldf', si

2014-10-15 13:18:57 990

原创 POJ 1496 POJ 1850 组合计数

CodeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 8256 Accepted: 3906DescriptionTransmitting and memorizing information is a task that requires different coding systems for the b

2014-10-12 17:04:55 681

转载 Java常用类库--大数处理类

yJava常用类库--大数处理类--BigInteger (2011-10-13 19:53:18)转载▼标签: java 常用 类库 -- 大数 处理 类 biginteger 杂谈 分类: JavaJava常用类库--大数处理类·操作整型:BigInteger类·操作小数:BigDecimal类BigInteger类:BigInteger类是在java.math

2014-10-06 23:47:44 540

原创 POJ 2492 并查集应用的扩展

POJ 2492

2014-10-05 11:25:19 759

原创 POJ 3268 双向Dijkstra

Silver Cow PartyTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 13020 Accepted: 5832DescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to

2014-10-04 23:09:35 954

原创 线段树(带删除节点)

动态最值(minmax.Cpp/c/java)(空间限制128M)有一个包含n个元素的数组,要求实现以下操作:DELETE k:删除位置k上的数。右边的数往左移一个位置。QUERY i j:查询位置i~j上所有数的最小值和最大值。【输入】(minmax.in)输入第一行包含两个数n, m,表示原始数组的元素个数和操作的个数。第二行包括n个数,表示原始数组。以下m行,

2014-10-04 18:04:35 2048

复习计划.cpp

西北工业大学算法设计与分析考试题解答,深度优先遍历

2014-06-25

空空如也

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

TA关注的人

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