- 博客(94)
- 资源 (2)
- 收藏
- 关注
原创 zoj 1047 Image Perimeters
ZOJ Problem Set - 1047ImagePerimetersTime Limit: 2 Seconds Memory Limit: 65536 KBTechnicians in a pathology lab analyze digitized images ofslides. Objects on a slide are selected for anal
2014-08-11 21:30:06 496
原创 zoj 1062 Trees Made to Order
ZOJ Problem Set - 1062Trees Made toOrderTime Limit: 2 Seconds Memory Limit: 65536 KBWe can number binary trees using the following scheme:The empty tree is numbered 0.The single-node tre
2014-08-11 21:30:04 482
原创 zoj 1011 NTA
ZOJ Problem Set - 1011NTATime Limit: 2 Seconds Memory Limit: 65536 KBThe NTA (Non-deterministic Tree Automata) is a kind of treestructure device. The device is built in a set of operating
2014-08-11 21:30:02 722
原创 C++ 多态
第八章 多态性注:参考东南大学《C++程序设计教程》视频,主讲老师:何洁月。此内容为自学时所记笔记多态性:指发出同样的消息被不同类型的对象接受时导致完全不同的行为。消息:主要指对类的成员函数的调用实现:函数重载------静态 运算符重载----静 ---编译时 虚函数--------动态---运行时联编:计算机程序自身彼此关联的过程运算符重载:对已有的
2014-08-11 21:30:00 340
原创 zoj 1009 enigma
ZOJ Problem Set - 1009EnigmaTime Limit: 10 Seconds Memory Limit: 32768 KBIn World War II, Germany once used an electronic encryptionmachine called Enigma, which played a decisive role in t
2014-08-11 21:29:58 454
原创 zoj 1006 Do the Untwist
ZOJ Problem Set - 1006Do theUntwistTime Limit: 2 Seconds Memory Limit: 65536 KBCryptography deals with methods of secretcommunication that transform a message (theplaintext) into a disgu
2014-08-11 21:29:55 422
原创 ZOJ 1010 Area
ZOJ Problem Set - 1010AreaTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeJerry, a middle school student, addicts himself to mathematicalresearch. Maybe the problems he has
2014-08-11 21:29:53 495
原创 ZOJ 1007 Numerical&nbs…
ZOJ Problem Set - 1007Numerical Summation of aSeriesTime Limit: 10 Seconds Memory Limit: 32768 KB Special JudgeProduce a table of the values of the series1007 Numerical Summation of
2014-08-11 21:29:51 367
原创 ZOJ 1058 Currency Exchange
ZOJ Problem Set - 1058Currency ExchangeTime Limit: 2 Seconds Memory Limit: 65536 KBWhen Issac Bernand Miller takes a trip to another country, say toFrance, he exchanges his US dollars for
2014-08-11 21:29:49 520
原创 ZOJ 1053 FDNY to the Rescue
ZOJ Problem Set - 1053FDNY to theRescue!Time Limit: 2 Seconds Memory Limit: 65536 KB1053 FDNY to the Rescue" TITLE="ZOJ 1053 FDNY to the Rescue" />The Fire Department of New York (FDNY)
2014-08-11 21:29:47 344
原创 ZOJ 1029 Moving Tables
ZOJ Problem Set - 1029Moving TablesTime Limit: 2 Seconds Memory Limit: 65536 KBThe famous ACM (Advanced Computer Maker) Company has rented afloor of a building whose shape is in the follow
2014-08-11 21:29:45 388
原创 ZOJ 1012 Mainframe
ZOJ Problem Set - 1012MainframeTime Limit: 10 Seconds Memory Limit: 32768 KBMr. Ronald is responsible for the administration of themainframe in ACM (Agent on Computing of Mathematics). The
2014-08-11 21:29:43 415
原创 C++ 继承
注:参考东南大学《C++程序设计教程》视频,主讲老师:何洁月。此内容为自学时所记笔记第七章 类的继承与派生继承:保持已有类的特性而构成新类的过程 目的:实现代码重用派生:在已有类的基础上新增自己的特性而产生新类的过程 目的:原程序进行改造吗 (1)吸收基类 。(2)改造 同名覆盖。(3)新增加。基类--->派生类公有继承:class B{}; cl
2014-08-11 21:29:41 310
原创 ZOJ 1025 Wooden Sticks
ZOJ Problem Set - 1025Wooden SticksTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a pile of n wooden sticks. The length and weight ofeach stick are known in advance. The sticks are t
2014-08-11 21:29:39 348
原创 ZOJ 1027 Human Gene Functions
ZOJ Problem Set - 1027Human GeneFunctionsTime Limit: 2 Seconds Memory Limit: 65536 KBIt is well known that a human gene can be considered as asequence, consisting of four nucleotides, whi
2014-08-11 21:29:37 324
原创 ZOJ 1074 To the Max
ZOJ Problem Set - 1074To the MaxTime Limit: 2 Seconds Memory Limit: 65536 KBProblemGiven a two-dimensional array of positive and negative integers, asub-rectangle is any contiguous sub-a
2014-08-11 21:29:34 347
原创 ZOJ 1019 Illusive Chase
ZOJ Problem Set - 1019Illusive ChaseTime Limit: 2 Seconds Memory Limit: 65536 KBTom the robocat is presented in a Robotics Exhibition for anenthusiastic audience of youngsters, placed arou
2014-08-11 21:29:32 391
原创 ZOJ 1008 Gnome Tetravex
ZOJ Problem Set - 1008GnomeTetravexTime Limit: 10 Seconds Memory Limit: 32768 KBHart is engaged in playing an interesting game, Gnome Tetravex,these days. In the game, at the beginning, t
2014-08-11 21:29:30 293
原创 ZOJ 1004 Anagrams by Stack
ZOJ Problem Set - 1004Anagrams by StackTime Limit: 2 Seconds Memory Limit: 65536 KBHow can anagrams result from sequences of stack operations?There are two sequences of stack operators whi
2014-08-11 21:29:28 348
原创 ZOJ 1014 Operand
ZOJ Problem Set - 1014OperandTime Limit: 2 Seconds Memory Limit: 65536 KBProfessor Maple teaches mathematics in a university. He haveinvented a function for the purpose of obtaining the op
2014-08-11 21:29:26 391
原创 zoj 1016 Parencoding
ZOJ Problem Set - 1016ParencodingsTime Limit: 2 Seconds Memory Limit: 65536 KBLet S = s1 s2 ... s2n be a well-formed string of parentheses. Scan be encoded in two different ways:By an in
2014-08-11 21:29:24 357
原创 zoj 1005 Jugs
ZOJ Problem Set - 1005JugsTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeIn the movie "Die Hard 3", Bruce Willis and Samuel L. Jacksonwere confronted with the following puz
2014-08-11 21:29:22 312
原创 ZOJ 1003 Crashing Balloon
ZOJ Problem Set - 1003Crashing BalloonTime Limit: 2 Seconds Memory Limit: 65536 KBOn every June 1st, the Children's Day, there will be a gamenamed "crashing balloon" on TV. The rule is v
2014-08-11 21:29:20 300
原创 ZOJ 1049 I Think&…
ZOJ Problem Set - 1049I Think I Need aHouseboatTime Limit: 2 Seconds Memory Limit: 65536 KB1049 I Think I Need a Houseboat" TITLE="ZOJ 1049 I Think I Need a Houseboat" />Fred Mapper is c
2014-08-11 21:29:18 400
原创 ZOJ 1045 Hang Over
ZOJ Problem Set - 1045HangOverTime Limit: 2 Seconds Memory Limit: 65536 KBHow far can you make a stack of cards overhang a table? If youhave one card, you can create a maximum overhang of
2014-08-11 21:29:15 328
原创 ZOJ 1056 The Worm Turns
ZOJ Problem Set - 1056The WormTurnsTime Limit: 2 Seconds Memory Limit: 65536 KBWorm is an old computer game. There are many versions, but allinvolve maneuvering a "worm" around the screen
2014-08-11 21:29:13 702
原创 ZOJ 1067 Color Me Less
ZOJ Problem Set - 1067Color Me LessTime Limit: 2 Seconds Memory Limit: 65536 KBProblemA color reduction is a mapping from a set of discrete colors to asmaller one. The solution to this p
2014-08-11 21:29:11 378
原创 ZOJ 1091 Knight Moves
ZOJ Problem Set - 1091Knight MovesTime Limit: 2 Seconds Memory Limit: 65536 KBA friend of you is doing research on the Traveling KnightProblem (TKP) where you are to find the shortest clos
2014-08-11 21:29:09 358
原创 ZOJ 1002 Fire Net
Fire NetTime Limit: 2 Seconds Memory Limit: 65536 KBSuppose that we have a square city with straight streets. A mapof a city is a square board with n rows and n columns, eachrepresenting a
2014-08-11 21:29:07 434
原创 ZOJ 1037 Gridland
GridlandTime Limit: 2 Seconds Memory Limit: 65536 KBBackgroundFor years, computer scientists have been trying to find efficientsolutions to different computing problems. For some of theme
2014-08-11 21:29:05 430
原创 matlab 常用函数
基础:用i,j表示虚数单位who命令只显示出驻留变量的名称,whos在给出变量名的同时,还给出它们的大小、所占字节数及数据类型等信息save和load命令来完成 .mat 文件的操作%mod(-22,5) % 取余-22=(-5)*5+3;%mod(23,-7) #=(-7)*(-4)+(-5) %rem(-22,5) %取余-22=4*5-2;
2014-08-11 21:29:02 683
原创 ZOJ 2239 In Danger
In DangerTime Limit: 2 Seconds Memory Limit: 65536 KBFlavius Josephus and 40 fellow rebels were trapped by theRomans. His companions preferred suicide to surrender, so theydecided to form a
2014-08-11 21:29:00 482
原创 ZOJ 1633 big string
Big StringTime Limit: 2 Seconds Memory Limit: 65536 KBWe will construct an infinitely long string from two short strings:A = "^__^" (four characters), and B = "T.T" (three characters).Repea
2014-08-11 21:28:58 363
原创 ZOJ 1078 Palindrom Numbers
PalindromNumbersTime Limit: 2 Seconds Memory Limit: 65536 KBStatement of the ProblemWe say that a number is a palindrom if it is the sane when readfrom left to right or from right to left.
2014-08-11 21:28:56 296
原创 ZOJ 3197 Goole Book
Google BookTime Limit: 1 Second Memory Limit: 32768 KBYou, the best hacker in the world, want to download the bookspublished on Google Book. After some investigation, you found thatthe addr
2014-08-11 21:28:54 326
原创 ZOJ 2536 best balance
Best BalanceTime Limit: 2 SecondsMemory Limit: 65536 KBFatMouse has just got a baby! In order to control the baby's mouseweight, he bought a balance as well as some weights. By placing hisbaby
2014-08-11 21:28:52 447
原创 ZOJ 2581 Tour
TourTime Limit: 2 Seconds Memory Limit: 65536 KBJohn Doe, a skilled pilot, enjoys traveling. While on vacation,he rents a small plane and starts visiting beautiful places. Tosave money, Joh
2014-08-11 21:28:50 285
原创 C++ STL 速成
STL 之模板可以将两个函数合并定义函数模板:程序一STL 速成" TITLE="C++ STL 速成" />程序二 STL 速成" TITLE="C++ STL 速成" />STL概述: 容器:可容纳各种数据类型的数据结构 vector list deque set map stack queue
2014-08-11 21:28:47 401
原创 第五届蓝桥杯决赛做题报告
第五届蓝桥杯决赛做题报告此次比赛是我本人第一次参加全国性的编程比赛,比赛结果:全国c/c++ B组二等奖。做题情况:写了前5题,编程大题可能部分测试数据没过,最后一题,写了一个多小时,当时想到用宽搜,就一直写了下去,没有想其他的方法,结果,写完后题目给的测试数据都没过,此时比赛也接近了尾声。下面就部分比赛试题详细的谈谈:第一题,填空题,还是比较简单的,唯一令人纠结的就是周岁到底是怎么算
2014-08-11 21:28:43 619
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人