随笔分类 -  online judge UPC

摘要:“美登杯”上海市高校大学生程序设计邀请赛补题 "传送门" A题 题目吓人,实际上就是求子串的个数。长度为n的字符串子串个数为(n+1) n/2 B题 三重循环暴力求三角形。除了正三角形,还有倒三角形 include using namespace std; define fin freopen("i 阅读全文
posted @ 2019-05-19 19:25 llke 阅读(126) 评论(0) 推荐(0)
摘要:THE WORLD "题目链接" 题目描述 The World can indicate world travel, particularly on a large scale. You mau be lucky enough to be embarking on a six month overs 阅读全文
posted @ 2019-05-07 14:25 llke 阅读(214) 评论(0) 推荐(0)
摘要:STRENGTH "题目链接" 题目描述 Strength gives you the confidence within yourself to overcome any fears, challenges or doubts. Feel the fear and do it anyway! If 阅读全文
posted @ 2019-05-06 21:58 llke 阅读(329) 评论(0) 推荐(0)
摘要:Stone Game "题目链接" 题目描述 Alice and Bob are always playing game! The game today is about taking out stone from the stone piles in turn. There are n piles 阅读全文
posted @ 2019-05-06 21:14 llke 阅读(162) 评论(0) 推荐(0)
摘要:Greatest Common Divisor "题目链接" 题目描述 There is an array of length n, containing only positive numbers. Now you can add all numbers by 1 many times. Plea 阅读全文
posted @ 2019-05-05 22:06 llke 阅读(224) 评论(0) 推荐(0)
摘要:Bits Reverse "题目链接" 题目描述 Now given two integers x and y, you can reverse every consecutive three bits in arbitrary number’s binary form (any leading z 阅读全文
posted @ 2019-05-05 19:17 llke 阅读(158) 评论(0) 推荐(0)
摘要:Winner Winner "题目链接" 题目描述 The FZU Code Carnival is a programming competetion hosted by the ACM ICPC Training Center of Fuzhou University. The activity 阅读全文
posted @ 2019-05-05 17:49 llke 阅读(151) 评论(0) 推荐(0)
摘要:GCDLCM "题目链接" 题目描述 In FZU ACM team, BroterJ and Silchen are good friends, and they often play some interesting games. One day they play a game about G 阅读全文
posted @ 2019-05-04 21:01 llke 阅读(248) 评论(0) 推荐(0)
摘要:Melody 题目描述 YellowStar is versatile. One day he writes a melody A = [A1, ..., AN ], and he has a standard melody B = [B1, ..., BN ]. YellowStar can sp 阅读全文
posted @ 2019-05-04 20:53 llke 阅读(154) 评论(0) 推荐(0)
摘要:WTMGB "题目链接" 题目描述 YellowStar is very happy that the FZU Code Carnival is about to begin except that he has to prepare problems for it. Because the sta 阅读全文
posted @ 2019-05-04 20:41 llke 阅读(147) 评论(0) 推荐(0)
摘要:Supreme Number "题目链接" 题目描述 A prime number (or a prime) is a natural number greater than 1 that cannot be formed by multiplying two smaller natural num 阅读全文
posted @ 2019-05-04 20:29 llke 阅读(127) 评论(0) 推荐(0)
摘要:Lattice's basics in digital electronics "题目链接" 题目描述 LATTICE is learning Digital Electronic Technology. He is talented, so he understood all those piec 阅读全文
posted @ 2019-05-04 20:18 llke 阅读(124) 评论(0) 推荐(0)
摘要:Made In Heaven 题目描述 One day in the jail, F·F invites Jolyne Kujo (JOJO in brief) to play tennis with her. However, Pucci the father somehow knows it a 阅读全文
posted @ 2019-05-04 20:18 llke 阅读(98) 评论(0) 推荐(0)
摘要:As rich as Crassus "题目链接" 题目描述 Crassus, the richest man in the world, invested some of his money with the Very Legitimate International Bank. The Bank 阅读全文
posted @ 2019-05-04 19:16 llke 阅读(222) 评论(0) 推荐(0)
摘要:Floating Point Hazard 题目描述 Given the value of low, high you will have to find the value of the following expression: $\sum_{i=low}^{high}(\sqrt[3]{(i+ 阅读全文
posted @ 2019-05-03 20:59 llke 阅读(118) 评论(0) 推荐(0)
摘要:Communication 题目描述 The Ministry of Communication has an extremely wonderful message system, designed by the President himself. For maximum efficiency, 阅读全文
posted @ 2019-05-03 20:14 llke 阅读(89) 评论(0) 推荐(0)
摘要:Bus Stop 题目描述 In a rural village in Thailand, there is a long, straight, road with houses scattered along it. (We can picture the road as a long line 阅读全文
posted @ 2019-05-03 20:03 llke 阅读(103) 评论(0) 推荐(0)
摘要:Evolution Game 题目描述 In the fantasy world of ICPC there are magical beasts. As they grow, these beasts can change form, and every time they do they bec 阅读全文
posted @ 2019-05-03 19:52 llke 阅读(128) 评论(0) 推荐(0)
摘要:Cardboard Container Problem Description fidget spinners are so 2017; this years’ rage are fidget cubes. A fidget cube is a cube with unit side lengths 阅读全文
posted @ 2019-05-01 21:23 llke 阅读(245) 评论(0) 推荐(0)
摘要:Janitor Troubles Problem Description While working a night shift at the university as a janitor, you absent mindedly erase a blackboard covered with e 阅读全文
posted @ 2019-04-28 21:53 llke 阅读(325) 评论(0) 推荐(0)