上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: Krypton Factor You have been employed by the organisers of a Super Krypton Factor Contest in which contestants have very high mental an... 阅读全文
posted @ 2014-12-15 21:54 Popco 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Prime Ring Problem A ring is composed of n (even number) circles as shown in diagram. Put natural numbers into each circle separately... 阅读全文
posted @ 2014-12-15 17:02 Popco 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Problem A: Fractions Again?! Time limit: 1 second It is easy to see that for every fraction in the form (k > 0), we can always find tw... 阅读全文
posted @ 2014-12-12 23:38 Popco 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Problem D - Maximum Product Time Limit: 1 second Given a sequence of integers S = {S1, S2, ..., Sn}, you should determine what is the value of t... 阅读全文
posted @ 2014-12-12 23:18 Popco 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Division Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, ... 阅读全文
posted @ 2014-12-12 23:05 Popco 阅读(100) 评论(0) 推荐(0) 编辑
摘要: A robot has to patrol around a rectangular area which is in a form of mxn grid (m rows and n columns). The rows are labeled from 1 to m. The colum... 阅读全文
posted @ 2014-12-11 18:26 Popco 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Knight Moves A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of ... 阅读全文
posted @ 2014-12-11 09:37 Popco 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Tree Recovery Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary t... 阅读全文
posted @ 2014-12-11 08:23 Popco 阅读(141) 评论(0) 推荐(0) 编辑
摘要: S-Trees A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function . Each path of the S-tree beg... 阅读全文
posted @ 2014-12-11 00:41 Popco 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)if it ... 阅读全文
posted @ 2014-12-10 23:47 Popco 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Updating a Dictionary In this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values ar... 阅读全文
posted @ 2014-12-09 23:33 Popco 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Problem F Ordering Tasks Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB John has n tasks to do. Unfortunat... 阅读全文
posted @ 2014-12-09 16:46 Popco 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 闲来无事,学到了Rand函数的用法,于是想到实现一个控制台抽奖的程序 程序功能比较简单,输入一个数值作为随机数的范围,为[1,range],通过不断按回车产生随机数,停止回车时固定。通过system(“cls”)实现清除之前的数据。输入任意其他字符+回车可以更换随机数范围。Ctrl+Z可停止程序... 阅读全文
posted @ 2014-12-04 16:36 Popco 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: Problem B Broken Keyboard (a.k.a. Beiju Text) You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem w... 阅读全文
posted @ 2014-12-03 08:54 Popco 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Rails There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. U... 阅读全文
posted @ 2014-12-03 08:17 Popco 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Peter studies the theory of relational databases. Table in the relational database consists of values that are arranged in rows and columns. There... 阅读全文
posted @ 2014-12-02 09:00 Popco 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 书上的代码交上去Runtime Error,故按照自己的思路重写了 #include using namespace std;int main(){#ifndef ONLINE_JUDGE freopen("in.txt","r",stdin); freopen("o... 阅读全文
posted @ 2014-12-01 16:59 Popco 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Borrowers I mean your borrowers of books - those mutilators of collections, spoilers of the symmetry of shelves, and creators of odd v... 阅读全文
posted @ 2014-11-30 08:54 Popco 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 因为刚开始题目理解错了,误认为刚开始取出的任务是需要打印的任务,结果用不同的方法重写了N边都是WA,悲剧啊 后来好好看题看,其实很简单。。。重写后一边AC #include using namespace std;int main(){ int T; cin >> T; w... 阅读全文
posted @ 2014-11-29 20:28 Popco 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Dr. Tuple is working on the new data-mining application for Advanced Commercial Merchandise Inc. One of the subroutines for this application works ... 阅读全文
posted @ 2014-11-29 20:22 Popco 阅读(254) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页