自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 数据结构 离散事件模拟 银行等待时间

#include#include #include using namespace std;class num1{ public: int occur; int status;}a[100000];class num2{ public: int occur,jian; int len,top; int top1;}queue

2012-09-27 21:44:04 1833

原创 UVa 10129 - Play on Words

Play on WordsSome of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no other way to open the doors, the puzz

2012-09-25 15:08:55 721

原创 10167 - Birthday Cake

Problem G. Birthday Cake BackgroundLucy and Lily are twins. Today is their birthday. Mother buys a birthday cake for them.Now we put the cake onto a Descartes coordinate. Its center is

2012-09-25 10:55:38 1002

原创 UVa 10596 - Morning Walk

Problem HMorning WalkTime Limit3 Seconds Kamal is a Motashota guy. He has got a new job in Chittagong. So, he has moved to Chittagong from Dinajpur. He was getting fa

2012-09-20 16:58:44 1108

原创 UVa 439 - Knight Moves

Knight MovesA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set

2012-09-10 22:23:54 555

原创 UVa 572 - Oil Deposits

Oil Deposits The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creat

2012-09-10 08:57:53 624

原创 UVa 673 - Parentheses Balance

Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a)if it is the empty string(b)if A and B are correct, AB is c

2012-09-07 17:36:35 804

原创 UVa 10112 - Myacm Triangles

Problem B: Myacm TrianglesSource file:triangle.{c, cpp, java, pas}Input file:triangle.inOutput file:triangle.outThere has been considerable archeological work o

2012-09-07 00:04:31 700

原创 UVa 10387 - Billiard

Problem A: BilliardIn a billiard table with horizontal side a inches and vertical side b inches, a ball is launched from the middle of the table. After s > 0 seconds the ball returns to the point

2012-09-06 16:58:23 775

原创 UVa 579 - ClockHands

ClockHands The medieval interest in mechanical contrivances is well illustrated by the development of the mechanical clock, the oldest of which is driven by weights and controlled by a ver

2012-09-05 11:18:31 783

原创 UVa 408 - Uniform Generator

Uniform Generator Computer simulations often require random numbers. One way to generate pseudo-random numbers is via a function of the formwhere ``  " is the modulus operator.Su

2012-09-04 11:33:07 2122 1

原创 UVa 350 - Pseudo-Random Numbers

Pseudo-Random NumbersComputers normally cannot generate really random numbers, but frequently are used to generate sequences of pseudo-random numbers. These are generated by some algorit

2012-09-02 21:49:46 1177

原创 UVa 10879 - Code Refactoring

Problem BCode RefactoringTime Limit: 2 seconds"Harry, my dream is a code waiting to bebroken. Break the code, solve the crime."Agent CooperSeveral algorithms in mod

2012-09-01 20:25:43 630

空空如也

空空如也

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

TA关注的人

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