上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 43 下一页
摘要: Stockbroker GrapevineTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 21012Accepted: 11402DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in th 阅读全文
posted @ 2012-08-08 15:54 可笑痴狂 阅读(1437) 评论(0) 推荐(0)
摘要: A Bug's LifeTime Limit: 10000MSMemory Limit: 65536KTotal Submissions: 21637Accepted: 7056DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders and that they only interact with bugs of the opposite g 阅读全文
posted @ 2012-08-08 11:26 可笑痴狂 阅读(3686) 评论(0) 推荐(0)
摘要: Find them, Catch themTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 21755Accepted: 6471DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify 阅读全文
posted @ 2012-08-08 11:06 可笑痴狂 阅读(342) 评论(0) 推荐(0)
摘要: Domino EffectTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5539Accepted: 1396DescriptionDid you know that you can use domino bones for other things besides playing Dominoes? Take a number of dominoes and build a row by standing them on end with only a small distance in between. If you do 阅读全文
posted @ 2012-08-07 20:07 可笑痴狂 阅读(749) 评论(0) 推荐(0)
摘要: Til the Cows Come HomeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 21302Accepted: 7090DescriptionBessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants 阅读全文
posted @ 2012-08-07 20:03 可笑痴狂 阅读(2715) 评论(0) 推荐(1)
摘要: Mayor's postersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 27702Accepted: 8001DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city council has fin 阅读全文
posted @ 2012-08-07 15:48 可笑痴狂 阅读(157) 评论(0) 推荐(0)
摘要: /* 功能Function Description: BOJ 1257 Jim 和 Tradia的故事II-第K小数---初学线段树 开发环境Environment: DEV C++ 4.9.9.1 技术特点Technique: 版本Version: 作者Author: 可笑痴狂 日期Date: 20120807 备注Notes: Description Tradia对数据结构很感兴趣,她懂得很多有用的数据结构,比如链表、二叉树、图等等。最近她在学习堆的有关知识,并对... 阅读全文
posted @ 2012-08-07 11:01 可笑痴狂 阅读(501) 评论(0) 推荐(0)
摘要: 士兵杀敌(四)时间限制:2000 ms | 内存限制:65535 KB难度:5描述南将军麾下有百万精兵,现已知共有M个士兵,编号为1~M,每次有任务的时候,总会有一批编号连在一起人请战(编号相近的人经常在一块,相互之间比较熟悉),最终他们获得的军功,也将会平分到每个人身上,这样,有时候,计算他们中的哪一个人到底有多少军功就是一个比较困难的事情,军师小工的任务就是在南将军询问他某个人的军功的时候,快速的报出此人的军功,请你编写一个程序来帮助小工吧。假设起始时所有人的军功都是0.输入只有一组测试数据。每一行是两个整数T和M表示共有T条指令,M个士兵。(1<=T,M<=1000000)随 阅读全文
posted @ 2012-08-07 08:24 可笑痴狂 阅读(457) 评论(0) 推荐(0)
摘要: QuestionsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 1096Accepted: 394DescriptionHolding a collegiate programming contest is a very exhausting work. There is a well-known proverb that one fool can ask so many questions that a hundred clever men will not answer. And during a collegiate p 阅读全文
posted @ 2012-08-06 09:15 可笑痴狂 阅读(395) 评论(0) 推荐(0)
摘要: 郁闷的C小加(一)时间限制:1000 ms | 内存限制:65535 KB难度:3描述我们熟悉的表达式如a+b、a+b*(c+d)等都属于中缀表达式。中缀表达式就是(对于双目运算符来说)操作符在两个操作数中间:num1 operand num2。同理,后缀表达式就是操作符在两个操作数之后:num1 num2 operand。ACM队的“C小加”正在郁闷怎样把一个中缀表达式转换为后缀表达式,现在请你设计一个程序,帮助C小加把中缀表达式转换成后缀表达式。为简化问题,操作数均为个位数,操作符只有+-*/ 和小括号。输入第一行输入T,表示有T组测试数据(T<10)。每组测试数据只有一行,是一个长 阅读全文
posted @ 2012-08-05 21:10 可笑痴狂 阅读(346) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 43 下一页