随笔分类 - online judge UPC
摘要:“美登杯”上海市高校大学生程序设计邀请赛补题 "传送门" A题 题目吓人,实际上就是求子串的个数。长度为n的字符串子串个数为(n+1) n/2 B题 三重循环暴力求三角形。除了正三角形,还有倒三角形 include using namespace std; define fin freopen("i
阅读全文
摘要: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
阅读全文
摘要:STRENGTH "题目链接" 题目描述 Strength gives you the confidence within yourself to overcome any fears, challenges or doubts. Feel the fear and do it anyway! If
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Winner Winner "题目链接" 题目描述 The FZU Code Carnival is a programming competetion hosted by the ACM ICPC Training Center of Fuzhou University. The activity
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Lattice's basics in digital electronics "题目链接" 题目描述 LATTICE is learning Digital Electronic Technology. He is talented, so he understood all those piec
阅读全文
摘要: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
阅读全文
摘要:As rich as Crassus "题目链接" 题目描述 Crassus, the richest man in the world, invested some of his money with the Very Legitimate International Bank. The Bank
阅读全文
摘要: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+
阅读全文
摘要:Communication 题目描述 The Ministry of Communication has an extremely wonderful message system, designed by the President himself. For maximum efficiency,
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:Janitor Troubles Problem Description While working a night shift at the university as a janitor, you absent mindedly erase a blackboard covered with e
阅读全文

浙公网安备 33010602011771号