随笔分类 - UVA beginer
摘要:/*in windowsthe fc tool is so ugly!*/#include <cctype>#include <cstdio>#include <cstring>#include <cstdlib>#include <cassert>#include <map>#include <list>#include <set>#include <queue>#include <vector>#include <sstream>#include <it
阅读全文
posted @ 2012-11-18 19:59
strorehouse
摘要:C++语言: Codee#2582501 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset>
阅读全文
posted @ 2012-03-15 09:57
strorehouse
摘要:C++语言: Codee#2582401 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset>
阅读全文
posted @ 2012-03-15 09:41
strorehouse
摘要:C++语言: Codee#2581301 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset>
阅读全文
posted @ 2012-03-14 16:00
strorehouse
摘要:C++语言: Codee#2577901 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 08 #include <map>09 #include <set>10 #include <list>11 #include <queue>12 #include <cmath>13 #include <stack>14 #include <bitset&
阅读全文
posted @ 2012-03-11 16:47
strorehouse
摘要:C++语言: Codee#2576901 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 08 #include <map>09 #include <set>10 #include <list>11 #include <queue>12 #include <cmath>13 #include <stack>14 #include <bitset&
阅读全文
posted @ 2012-03-11 10:46
strorehouse
摘要:这几次写代码都忘记初始化,调了半天,活该啊!C++语言: Codee#25721001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 007 #include <map>008 #include <set>009 #include <list>010 #include <queue>011 #include <cmath>012 #include <s
阅读全文
posted @ 2012-03-04 10:12
strorehouse
摘要:C++语言: Codee#2572001 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset>
阅读全文
posted @ 2012-03-03 16:31
strorehouse
摘要:C++语言: Codee#2571901 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset>
阅读全文
posted @ 2012-03-03 15:52
strorehouse
摘要:这题的数据需要注意一下,题意不是很清楚,可以去uva的论坛里看看别人贴的数据C++语言: Codee#25717001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 007 #include <map>008 #include <set>009 #include <list>010 #include <queue>011 #include <cmath>01
阅读全文
posted @ 2012-03-03 11:06
strorehouse
摘要:/*这段代码写得奇丑无比好像读了空串进来前几次提交都是RE有空再改*/C++语言: Codee#25713001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 /*007 what an ugly code008 */009 #include <map>010 #include <set>011 #include <list>012 #include <queue>01
阅读全文
posted @ 2012-03-02 16:12
strorehouse
摘要:C++语言: Codee#25711001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 007 #include <map>008 #include <set>009 #include <list>010 #include <queue>011 #include <cmath>012 #include <stack>013 #include &
阅读全文
posted @ 2012-03-01 21:54
strorehouse
摘要:C++语言: Codee#25710001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 007 #include <map>008 #include <set>009 #include <list>010 #include <queue>011 #include <cmath>012 #include <stack>013 #include &
阅读全文
posted @ 2012-03-01 21:06
strorehouse
摘要:C++语言: Codee#25706001 /*002 +++++++++++++++++++++++++++++++++++++++003 author: chm004 +++++++++++++++++++++++++++++++++++++++005 */006 007 008 #include <map>009 #include <set>010 #include <list>011 #include <queue>012 #include <cmath>013 #include <stack>014 #inclu
阅读全文
posted @ 2012-03-01 10:02
strorehouse
摘要:Triangle WaveIn this problem you are to generate a triangular wave form according to a specified pair of Amplitude and Frequency.Input and OutputThe input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. This lin
阅读全文
posted @ 2011-11-05 22:13
strorehouse
摘要:Marvelous MazesYour mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic charactersA-Z,*(asterisk), and spaces.Input and OutputYour program will get the information for the mazes from the input file. This file will contain lines of character
阅读全文
posted @ 2011-11-05 21:57
strorehouse
摘要:Rotating SentencesIn ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to bottom, your program will display them from top to bottom and right to left.Input and OutputAs inp
阅读全文
posted @ 2011-11-05 21:35
strorehouse
摘要:Machined SurfacesAn imaging device furnishes digital images of two machined surfaces that eventually will be assembled in contact with each other. The roughness of this final contact is to be estimated.A digital image is composed of the two characters,"X"and" "(space). There are
阅读全文
posted @ 2011-11-05 21:08
strorehouse
摘要:Kindergarten Counting GameEverybody sit down in a circle. Ok. Listen to me carefully.``Woooooo, you scwewy wabbit!''Now, could someone tell me how many words I just said?Input and OutputInput to your program will consist of a series of lines, each line containing multiple words (at least one
阅读全文
posted @ 2011-11-04 23:47
strorehouse
摘要:The DecoderWrite a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the exact message that the characters contain. The code key for this simple coding is a one for one character s
阅读全文
posted @ 2011-11-04 23:27
strorehouse
浙公网安备 33010602011771号