- 博客(94)
- 资源 (2)
- 收藏
- 关注
原创 zoj 1047 Image Perimeters
ZOJ Problem Set - 1047 Image Perimeters Time Limit: 2 Seconds Memory Limit: 65536 KB Technicians in a pathology lab analyze digitized images of slides. Objects on a slide are selected for anal
2014-08-11 21:30:06
533
原创 zoj 1062 Trees Made to Order
ZOJ Problem Set - 1062 Trees Made to Order Time Limit: 2 Seconds Memory Limit: 65536 KB We can number binary trees using the following scheme: The empty tree is numbered 0. The single-node tre
2014-08-11 21:30:04
515
原创 zoj 1011 NTA
ZOJ Problem Set - 1011 NTA Time Limit: 2 Seconds Memory Limit: 65536 KB The NTA (Non-deterministic Tree Automata) is a kind of tree structure device. The device is built in a set of operating
2014-08-11 21:30:02
758
原创 C++ 多态
第八章 多态性 注:参考东南大学《C++程序设计教程》视频,主讲老师:何洁月。此内容为自学时所记笔记 多态性:指发出同样的消息被不同类型的对象接受时导致完全不同的行为。 消息:主要指对类的成员函数的调用 实现:函数重载------静态 运算符重载----静 ---编译时 虚函数--------动态---运行时 联编:计算机程序自身彼此关联的过程 运算符重载:对已有的
2014-08-11 21:30:00
369
原创 zoj 1009 enigma
ZOJ Problem Set - 1009 Enigma Time Limit: 10 Seconds Memory Limit: 32768 KB In World War II, Germany once used an electronic encryption machine called Enigma, which played a decisive role in t
2014-08-11 21:29:58
483
原创 zoj 1006 Do the Untwist
ZOJ Problem Set - 1006 Do the Untwist Time Limit: 2 Seconds Memory Limit: 65536 KB Cryptography deals with methods of secret communication that transform a message (the plaintext) into a disgu
2014-08-11 21:29:55
452
原创 ZOJ 1010 Area
ZOJ Problem Set - 1010 Area Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge Jerry, a middle school student, addicts himself to mathematical research. Maybe the problems he has
2014-08-11 21:29:53
535
原创 ZOJ 1007 Numerical&nbs…
ZOJ Problem Set - 1007 Numerical Summation of a Series Time Limit: 10 Seconds Memory Limit: 32768 KB Special Judge Produce a table of the values of the series 1007 Numerical Summation of
2014-08-11 21:29:51
394
原创 ZOJ 1058 Currency Exchange
ZOJ Problem Set - 1058 Currency Exchange Time Limit: 2 Seconds Memory Limit: 65536 KB When Issac Bernand Miller takes a trip to another country, say to France, he exchanges his US dollars for
2014-08-11 21:29:49
561
原创 ZOJ 1053 FDNY to the Rescue
ZOJ Problem Set - 1053 FDNY to the Rescue! Time Limit: 2 Seconds Memory Limit: 65536 KB 1053 FDNY to the Rescue" TITLE="ZOJ 1053 FDNY to the Rescue" /> The Fire Department of New York (FDNY)
2014-08-11 21:29:47
373
原创 ZOJ 1029 Moving Tables
ZOJ Problem Set - 1029 Moving Tables Time Limit: 2 Seconds Memory Limit: 65536 KB The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the follow
2014-08-11 21:29:45
428
原创 ZOJ 1012 Mainframe
ZOJ Problem Set - 1012 Mainframe Time Limit: 10 Seconds Memory Limit: 32768 KB Mr. Ronald is responsible for the administration of the mainframe in ACM (Agent on Computing of Mathematics). The
2014-08-11 21:29:43
448
原创 C++ 继承
注:参考东南大学《C++程序设计教程》视频,主讲老师:何洁月。此内容为自学时所记笔记 第七章 类的继承与派生 继承:保持已有类的特性而构成新类的过程 目的:实现代码重用 派生:在已有类的基础上新增自己的特性而产生新类的过程 目的:原程序进行改造吗 (1)吸收基类 。(2)改造 同名覆盖。(3)新增加。 基类--->派生类 公有继承:class B{}; cl
2014-08-11 21:29:41
342
原创 ZOJ 1025 Wooden Sticks
ZOJ Problem Set - 1025 Wooden Sticks Time Limit: 2 Seconds Memory Limit: 65536 KB There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are t
2014-08-11 21:29:39
370
原创 ZOJ 1027 Human Gene Functions
ZOJ Problem Set - 1027 Human Gene Functions Time Limit: 2 Seconds Memory Limit: 65536 KB It is well known that a human gene can be considered as a sequence, consisting of four nucleotides, whi
2014-08-11 21:29:37
359
原创 ZOJ 1074 To the Max
ZOJ Problem Set - 1074 To the Max Time Limit: 2 Seconds Memory Limit: 65536 KB Problem Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-a
2014-08-11 21:29:34
386
原创 ZOJ 1019 Illusive Chase
ZOJ Problem Set - 1019 Illusive Chase Time Limit: 2 Seconds Memory Limit: 65536 KB Tom the robocat is presented in a Robotics Exhibition for an enthusiastic audience of youngsters, placed arou
2014-08-11 21:29:32
422
原创 ZOJ 1008 Gnome Tetravex
ZOJ Problem Set - 1008 Gnome Tetravex Time Limit: 10 Seconds Memory Limit: 32768 KB Hart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at the beginning, t
2014-08-11 21:29:30
318
原创 ZOJ 1004 Anagrams by Stack
ZOJ Problem Set - 1004 Anagrams by Stack Time Limit: 2 Seconds Memory Limit: 65536 KB How can anagrams result from sequences of stack operations? There are two sequences of stack operators whi
2014-08-11 21:29:28
375
原创 ZOJ 1014 Operand
ZOJ Problem Set - 1014 Operand Time Limit: 2 Seconds Memory Limit: 65536 KB Professor Maple teaches mathematics in a university. He have invented a function for the purpose of obtaining the op
2014-08-11 21:29:26
417
原创 zoj 1016 Parencoding
ZOJ Problem Set - 1016 Parencodings Time Limit: 2 Seconds Memory Limit: 65536 KB Let S = s1 s2 ... s2n be a well-formed string of parentheses. S can be encoded in two different ways: By an in
2014-08-11 21:29:24
380
原创 zoj 1005 Jugs
ZOJ Problem Set - 1005 Jugs Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge In the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puz
2014-08-11 21:29:22
340
原创 ZOJ 1003 Crashing Balloon
ZOJ Problem Set - 1003 Crashing Balloon Time Limit: 2 Seconds Memory Limit: 65536 KB On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is v
2014-08-11 21:29:20
322
原创 ZOJ 1049 I Think&…
ZOJ Problem Set - 1049 I Think I Need a Houseboat Time Limit: 2 Seconds Memory Limit: 65536 KB 1049 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
432
原创 ZOJ 1045 Hang Over
ZOJ Problem Set - 1045 HangOver Time Limit: 2 Seconds Memory Limit: 65536 KB How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of
2014-08-11 21:29:15
352
原创 ZOJ 1056 The Worm Turns
ZOJ Problem Set - 1056 The Worm Turns Time Limit: 2 Seconds Memory Limit: 65536 KB Worm is an old computer game. There are many versions, but all involve maneuvering a "worm" around the screen
2014-08-11 21:29:13
826
原创 ZOJ 1067 Color Me Less
ZOJ Problem Set - 1067 Color Me Less Time Limit: 2 Seconds Memory Limit: 65536 KB Problem A color reduction is a mapping from a set of discrete colors to a smaller one. The solution to this p
2014-08-11 21:29:11
404
原创 ZOJ 1091 Knight Moves
ZOJ Problem Set - 1091 Knight Moves Time Limit: 2 Seconds Memory Limit: 65536 KB A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest clos
2014-08-11 21:29:09
383
原创 ZOJ 1002 Fire Net
Fire Net Time Limit: 2 Seconds Memory Limit: 65536 KB Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a
2014-08-11 21:29:07
458
原创 ZOJ 1037 Gridland
Gridland Time Limit: 2 Seconds Memory Limit: 65536 KB Background For years, computer scientists have been trying to find efficient solutions to different computing problems. For some of them e
2014-08-11 21:29:05
454
原创 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
728
原创 ZOJ 2239 In Danger
In Danger Time Limit: 2 Seconds Memory Limit: 65536 KB Flavius Josephus and 40 fellow rebels were trapped by the Romans. His companions preferred suicide to surrender, so they decided to form a
2014-08-11 21:29:00
510
原创 ZOJ 1633 big string
Big String Time Limit: 2 Seconds Memory Limit: 65536 KB We 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
400
原创 ZOJ 1078 Palindrom Numbers
Palindrom Numbers Time Limit: 2 Seconds Memory Limit: 65536 KB Statement of the Problem We say that a number is a palindrom if it is the sane when read from left to right or from right to left.
2014-08-11 21:28:56
318
原创 ZOJ 3197 Goole Book
Google Book Time Limit: 1 Second Memory Limit: 32768 KB You, the best hacker in the world, want to download the books published on Google Book. After some investigation, you found that the addr
2014-08-11 21:28:54
349
原创 ZOJ 2536 best balance
Best Balance Time Limit: 2 Seconds Memory Limit: 65536 KB FatMouse has just got a baby! In order to control the baby's mouse weight, he bought a balance as well as some weights. By placing his baby
2014-08-11 21:28:52
480
原创 ZOJ 2581 Tour
Tour Time Limit: 2 Seconds Memory Limit: 65536 KB John Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a small plane and starts visiting beautiful places. To save money, Joh
2014-08-11 21:28:50
307
原创 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
442
原创 第五届蓝桥杯决赛做题报告
第五届蓝桥杯决赛做题报告 此次比赛是我本人第一次参加全国性的编程比赛,比赛结果:全国c/c++ B组二等奖。做题情况:写了前5题,编程大题可能部分测试数据没过,最后一题,写了一个多小时,当时想到用宽搜,就一直写了下去,没有想其他的方法,结果,写完后题目给的测试数据都没过,此时比赛也接近了尾声。 下面就部分比赛试题详细的谈谈: 第一题,填空题,还是比较简单的,唯一令人纠结的就是周岁到底是怎么算
2014-08-11 21:28:43
658
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人