05 2016 档案

摘要:Viruses are usually bad for your health. How about ghting them with... other viruses? In this problem,you need to nd out how to synthesize such good v... 阅读全文
posted @ 2016-05-31 08:46 Shendu.CC 阅读(139) 评论(0) 推荐(0) 编辑
摘要:D. Broken robottime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou received as a gift a very cle... 阅读全文
posted @ 2016-05-31 08:39 Shendu.CC 阅读(147) 评论(0) 推荐(0) 编辑
摘要:B. F1 Championstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFormula One championship consists... 阅读全文
posted @ 2016-05-31 08:33 Shendu.CC 阅读(260) 评论(0) 推荐(0) 编辑
摘要:A. Ring roadtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNowadays the one-way traffic is intr... 阅读全文
posted @ 2016-05-31 08:31 Shendu.CC 阅读(282) 评论(0) 推荐(0) 编辑
摘要:Doing HomeworkTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7660 Accepted Submission(s): ... 阅读全文
posted @ 2016-05-31 08:27 Shendu.CC 阅读(131) 评论(0) 推荐(0) 编辑
摘要:1027. Colors in Mars (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YuePeople in Mars represent the colors in their computers in a similar... 阅读全文
posted @ 2016-05-31 08:22 Shendu.CC 阅读(103) 评论(0) 推荐(0) 编辑
摘要:1026. Table Tennis (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available to the public. The tables ... 阅读全文
posted @ 2016-05-31 08:21 Shendu.CC 阅读(192) 评论(0) 推荐(0) 编辑
摘要:1025. PAT Ranking (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueProgramming Ability Test (PAT) is organized by the College of Computer... 阅读全文
posted @ 2016-05-31 08:19 Shendu.CC 阅读(131) 评论(0) 推荐(0) 编辑
摘要:1024. Palindromic Number (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it is written forwards or b... 阅读全文
posted @ 2016-05-31 08:16 Shendu.CC 阅读(133) 评论(0) 推荐(0) 编辑
摘要:1023. Have Fun with Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueNotice that the number 123456789 is a 9-digit number consist... 阅读全文
posted @ 2016-05-31 08:14 Shendu.CC 阅读(150) 评论(0) 推荐(0) 编辑
摘要:1021. Deepest Root (25)时间限制1500 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA graph which is connected and acyclic can be considered a tree. The... 阅读全文
posted @ 2016-05-30 17:55 Shendu.CC 阅读(131) 评论(0) 推荐(0) 编辑
摘要:1020. Tree Traversals (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary tree are distinct positive i... 阅读全文
posted @ 2016-05-30 17:53 Shendu.CC 阅读(112) 评论(0) 推荐(0) 编辑
摘要:1019. General Palindromic Number (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it is written forwa... 阅读全文
posted @ 2016-05-30 17:50 Shendu.CC 阅读(95) 评论(0) 推荐(0) 编辑
摘要:1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+B where A and B are two ... 阅读全文
posted @ 2016-05-30 17:47 Shendu.CC 阅读(78) 评论(0) 推荐(0) 编辑
摘要:1017. Queueing at Bank (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has K windows open for service. There is a yellow ... 阅读全文
posted @ 2016-05-30 17:46 Shendu.CC 阅读(84) 评论(0) 推荐(0) 编辑
摘要:1016. Phone Bills (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA long-distance telephone company charges its customers by the followi... 阅读全文
posted @ 2016-05-30 17:41 Shendu.CC 阅读(86) 评论(0) 推荐(0) 编辑
摘要:1015. Reversible Primes (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA reversible prime in any number system is a prime whose "revers... 阅读全文
posted @ 2016-05-30 17:39 Shendu.CC 阅读(82) 评论(0) 推荐(0) 编辑
摘要:1014. Waiting in Line (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose a bank has N windows open for service. There is a yellow l... 阅读全文
posted @ 2016-05-30 17:37 Shendu.CC 阅读(103) 评论(0) 推荐(0) 编辑
摘要:1013. Battle Over Cities (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is vitally important to have all the cities connected by hig... 阅读全文
posted @ 2016-05-30 17:35 Shendu.CC 阅读(90) 评论(0) 推荐(0) 编辑
摘要:1012. The Best Rank (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTo evaluate the performance of our first year CS majored students, w... 阅读全文
posted @ 2016-05-30 17:33 Shendu.CC 阅读(80) 评论(0) 推荐(0) 编辑
摘要:1018. Public Bike Management (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThere is a public bike service in Hangzhou City which provi... 阅读全文
posted @ 2016-05-27 14:06 Shendu.CC 阅读(135) 评论(0) 推荐(0) 编辑
摘要:1011. World Cup Betting (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWith the 2010 FIFA World Cup running, football fans the world ov... 阅读全文
posted @ 2016-05-26 20:03 Shendu.CC 阅读(107) 评论(0) 推荐(0) 编辑
摘要:1010. Radix (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a pair of positive integers, for example, 6 and 110, can this equation... 阅读全文
posted @ 2016-05-26 20:01 Shendu.CC 阅读(82) 评论(0) 推荐(0) 编辑
摘要:1009. Product of Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A*B where A and B are t... 阅读全文
posted @ 2016-05-26 19:56 Shendu.CC 阅读(87) 评论(0) 推荐(0) 编辑
摘要:1008. Elevator (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe highest building in our city has only one elevator. A request list is... 阅读全文
posted @ 2016-05-26 19:40 Shendu.CC 阅读(86) 评论(0) 推荐(0) 编辑
摘要:1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N1, N2, ..., NK }. A cont... 阅读全文
posted @ 2016-05-26 19:37 Shendu.CC 阅读(114) 评论(0) 推荐(0) 编辑
摘要:1006. Sign In and Sign Out (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAt the beginning of every day, the first person who signs in ... 阅读全文
posted @ 2016-05-26 19:34 Shendu.CC 阅读(101) 评论(0) 推荐(0) 编辑
摘要:1005. Spell It Right (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-negative integer N, your task is to compute the sum of ... 阅读全文
posted @ 2016-05-26 19:32 Shendu.CC 阅读(78) 评论(0) 推荐(0) 编辑
摘要:1004. Counting Leaves (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your j... 阅读全文
posted @ 2016-05-26 19:30 Shendu.CC 阅读(76) 评论(0) 推荐(0) 编辑
摘要:1003. Emergency (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, you are given a special ma... 阅读全文
posted @ 2016-05-26 19:28 Shendu.CC 阅读(95) 评论(0) 推荐(0) 编辑
摘要:L 3-005 肿瘤诊断题目链接:https://www.patest.cn/contests/gplt/L3-004三维求连通块:用并查集,或者广搜,如果用深搜的话会爆栈#include #include #include #include #include #include #include u... 阅读全文
posted @ 2016-05-23 09:40 Shendu.CC 阅读(154) 评论(0) 推荐(0) 编辑
摘要:1001. A+B Format (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueCalculate a + b and output the sum in standard format -- that is, the d... 阅读全文
posted @ 2016-05-19 20:23 Shendu.CC 阅读(103) 评论(0) 推荐(0) 编辑
摘要:题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5053先把第一个串插入回文树中,然后把s数组清空插入第二个串,统计两个cnt数组,... 阅读全文
posted @ 2016-05-18 16:28 Shendu.CC 阅读(93) 评论(0) 推荐(0) 编辑
摘要:L2-005 集合相似度题目链接:https://www.patest.cn/contests/gplt/L2-005题目的意思是要求两个集合的交集中互不相同元素的个数和两个集合并集中互不相同的元素的个数先求交集中互不相同的元素,然后用两个集合互不相同元素个数的和减去,就是并集中的个数#includ... 阅读全文
posted @ 2016-05-18 16:20 Shendu.CC 阅读(198) 评论(0) 推荐(0) 编辑
摘要:Victor and StringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/262144 K (Java/Others)Total Submission(s): 163 Accepted Submission(... 阅读全文
posted @ 2016-05-12 08:47 Shendu.CC 阅读(122) 评论(0) 推荐(0) 编辑
摘要:Harry and magic stringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 223 Accepted Submissi... 阅读全文
posted @ 2016-05-11 08:38 Shendu.CC 阅读(163) 评论(0) 推荐(0) 编辑
摘要:Palindromic SubstringTime Limit: 10 Seconds Memory Limit: 65536 KBIn the kingdom of string, people like palindromic strings very much. They like ... 阅读全文
posted @ 2016-05-10 22:57 Shendu.CC 阅读(187) 评论(0) 推荐(0) 编辑
摘要:2160: 拉拉队排练Time Limit: 10 Sec Memory Limit: 259 MBSubmit: 825 Solved: 324[Submit][Status][Discuss]Description艾利斯顿商学院篮球队要参加一年一度的市篮球比赛了。拉拉队是篮球比赛的一个看点,... 阅读全文
posted @ 2016-05-10 16:00 Shendu.CC 阅读(115) 评论(0) 推荐(0) 编辑
摘要:2565: 最长双回文串Time Limit: 10 Sec Memory Limit: 128 MBSubmit: 1377 Solved: 714[Submit][Status][Discuss]Description顺序和逆序读起来完全一样的串叫做回文串。比如acbca是回文串,而abc不... 阅读全文
posted @ 2016-05-10 13:20 Shendu.CC 阅读(128) 评论(0) 推荐(0) 编辑
摘要:3676: [Apio2014]回文串Time Limit: 20 Sec Memory Limit: 128 MBSubmit: 1680 Solved: 707[Submit][Status][Discuss]Description考虑一个只包含小写拉丁字母的字符串s。我们定义s的一个子串t... 阅读全文
posted @ 2016-05-10 09:14 Shendu.CC 阅读(111) 评论(0) 推荐(0) 编辑
摘要:CA Loves PalindromicTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 301 Accepted Submissi... 阅读全文
posted @ 2016-05-10 08:27 Shendu.CC 阅读(162) 评论(0) 推荐(0) 编辑
摘要:Palindromes and Super Abilities 2Time Limit: 1MS Memory Limit: 102400KB 64bit IO Format: %I64d & %I64uStatusDescriptionDima adds letters s1, …, sn one... 阅读全文
posted @ 2016-05-10 08:21 Shendu.CC 阅读(139) 评论(0) 推荐(0) 编辑
摘要:E. Palisectiontime limit per test2 secondsmemory limit per test128 megabytesinputstandard inputoutputstandard outputIn an English class Nick had nothi... 阅读全文
posted @ 2016-05-09 18:06 Shendu.CC 阅读(320) 评论(0) 推荐(0) 编辑
摘要:Number of PalindromesTime Limit: 100MS Memory Limit: 1572864KB 64bit IO Format: %lld & %lluSubmit StatusDescriptionEach palindrome can be always creat... 阅读全文
posted @ 2016-05-07 19:39 Shendu.CC 阅读(196) 评论(0) 推荐(0) 编辑
摘要:C. Cinematime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMoscow is hosting a major international... 阅读全文
posted @ 2016-05-07 19:30 Shendu.CC 阅读(133) 评论(0) 推荐(0) 编辑
摘要:B. Suspectstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs Sherlock Holmes was investigating ... 阅读全文
posted @ 2016-05-07 07:53 Shendu.CC 阅读(169) 评论(0) 推荐(0) 编辑
摘要:A. Messagetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDr. Moriarty is about to send a messag... 阅读全文
posted @ 2016-05-07 07:50 Shendu.CC 阅读(180) 评论(0) 推荐(0) 编辑
摘要:B. Tracetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day, as Sherlock Holmes was tracking... 阅读全文
posted @ 2016-05-07 07:48 Shendu.CC 阅读(154) 评论(0) 推荐(0) 编辑
摘要:A. Game Outcometime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSherlock Holmes and Dr. Watson pl... 阅读全文
posted @ 2016-05-07 07:47 Shendu.CC 阅读(206) 评论(0) 推荐(0) 编辑
摘要:Greedy TinoTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1194 Accepted Submission(s): 393... 阅读全文
posted @ 2016-05-07 07:44 Shendu.CC 阅读(145) 评论(0) 推荐(0) 编辑
摘要:Ferry LoadingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1807 Accepted: 509 Special JudgeDescriptionBefore bridges were common, ferries ... 阅读全文
posted @ 2016-05-07 07:41 Shendu.CC 阅读(169) 评论(0) 推荐(0) 编辑
摘要:Jury CompromiseTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 27314 Accepted: 7208 Special JudgeDescriptionIn Frobnia, a far-away country, ... 阅读全文
posted @ 2016-05-07 07:32 Shendu.CC 阅读(151) 评论(0) 推荐(0) 编辑
摘要:The Twin TowersTime Limit: 2 Seconds Memory Limit: 65536 KBTwin towers we see you standing tall, though a building's lost our faith will never fa... 阅读全文
posted @ 2016-05-06 22:43 Shendu.CC 阅读(190) 评论(0) 推荐(0) 编辑
摘要:Charitable ExchangeTime Limit: 4000/2000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Submit StatusHave you ever heard a star charity ... 阅读全文
posted @ 2016-05-04 18:44 Shendu.CC 阅读(143) 评论(0) 推荐(0) 编辑
摘要:1354 - Rubiks时间限制:1秒 内存限制:64兆452 次提交 102 次通过题目描述Isun is a genius. Not only he is an expert in algorithm, but also he plays damn-good in many funny gam... 阅读全文
posted @ 2016-05-04 16:34 Shendu.CC 阅读(137) 评论(0) 推荐(0) 编辑
摘要:Problem 1061 矩阵连乘Accept: 445 Submit: 1699Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description给定n个矩阵{A1,A2,...,An},考察这n个矩阵的连乘积A1A2.... 阅读全文
posted @ 2016-05-04 16:27 Shendu.CC 阅读(176) 评论(0) 推荐(0) 编辑
摘要:Accept: 415 Submit: 1291Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description工业和医学上经常要用到一种诊断技术——核磁共振成像(Magnetic Resonance Imagers)。利... 阅读全文
posted @ 2016-05-04 16:24 Shendu.CC 阅读(203) 评论(0) 推荐(0) 编辑
摘要:Problem 2099 魔法阵Accept: 120 Submit: 289Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description两个正三角形和一个圆组成一个魔法阵,如图,圆心和正三角形内心重合,三角形的重叠... 阅读全文
posted @ 2016-05-04 16:20 Shendu.CC 阅读(195) 评论(0) 推荐(0) 编辑
摘要:Problem 2095 水面高度Accept: 40 Submit: 256Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Descriptionkk手上有个长方体,三边长AC,AB,AD分别为a,b,c,现在里面的水高度为... 阅读全文
posted @ 2016-05-04 16:18 Shendu.CC 阅读(133) 评论(0) 推荐(0) 编辑
摘要:Tricks in BitsTime Limit: 1000MS Memory Limit: 65535KB 64bit IO Format: %lld & %lluSubmit StatusDescriptionGiven N unsigned 64-bit integers, you can b... 阅读全文
posted @ 2016-05-04 16:14 Shendu.CC 阅读(141) 评论(0) 推荐(0) 编辑
摘要:Today I want to introduce an interesting game to you. Like eight puzzle, it is a square board with 9 positions, but it filled by 9 numbered tiles. The... 阅读全文
posted @ 2016-05-04 16:12 Shendu.CC 阅读(195) 评论(0) 推荐(0) 编辑
摘要:题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=503背包问题:#include #include #include #include #incl... 阅读全文
posted @ 2016-05-04 15:59 Shendu.CC 阅读(125) 评论(0) 推荐(0) 编辑
摘要:Strange Country IITime Limit: 1 Second Memory Limit: 32768 KB Special JudgeYou want to visit a strange country. There are n cities in the co... 阅读全文
posted @ 2016-05-04 15:56 Shendu.CC 阅读(163) 评论(0) 推荐(0) 编辑
摘要:Process the TasksTime Limit: 1 Second Memory Limit: 32768 KBThere are two machines A and B. There are n tasks, namely task 1, task 2, ..., task n... 阅读全文
posted @ 2016-05-04 15:53 Shendu.CC 阅读(122) 评论(0) 推荐(0) 编辑
摘要:An Awful ProblemTime Limit: 1 Second Memory Limit: 32768 KBIn order to encourage Hiqivenfin to study math, his mother gave him a sweet candy when... 阅读全文
posted @ 2016-05-04 15:50 Shendu.CC 阅读(143) 评论(0) 推荐(0) 编辑
摘要:How many integers can you findTime Limit: 12000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6434 Accepte... 阅读全文
posted @ 2016-05-04 15:20 Shendu.CC 阅读(131) 评论(0) 推荐(0) 编辑
摘要:The Boss on MarsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2494 Accepted Submission(s)... 阅读全文
posted @ 2016-05-04 15:15 Shendu.CC 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Co-primeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3313 Accepted Submission(s): 1286Pr... 阅读全文
posted @ 2016-05-04 15:02 Shendu.CC 阅读(205) 评论(0) 推荐(0) 编辑
摘要:ztr loves substringTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 219 Accepted Submission(... 阅读全文
posted @ 2016-05-04 14:28 Shendu.CC 阅读(138) 评论(0) 推荐(0) 编辑
摘要:B. Little Artem and Dancetime limit per test2 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Artem is fond of ... 阅读全文
posted @ 2016-05-02 13:15 Shendu.CC 阅读(134) 评论(0) 推荐(0) 编辑
摘要:A. Pouring Raintime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA lot of people in Berland hates r... 阅读全文
posted @ 2016-05-02 13:13 Shendu.CC 阅读(207) 评论(0) 推荐(0) 编辑
摘要:B. World Tourtime limit per test5 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputA famous sculptor Cicasso goes to a... 阅读全文
posted @ 2016-05-02 13:09 Shendu.CC 阅读(133) 评论(0) 推荐(0) 编辑
摘要:A. Reberland Linguisticstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFirst-rate specialists gr... 阅读全文
posted @ 2016-05-02 13:00 Shendu.CC 阅读(136) 评论(0) 推荐(0) 编辑
摘要:ztr loves mathTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 133 Accepted Submission(s): 6... 阅读全文
posted @ 2016-05-01 09:14 Shendu.CC 阅读(103) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示