UPC
coderyzh
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UPC Contest 1746 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 of stones, and the i-th pile contains A[i] stones. As the number o...原创 2019-05-02 18:18:10 · 253 阅读 · 0 评论 -
UPC Contest 1746 Greatest Common Divisor
题目描述 There is an array of length n, containing only positive numbers. Now you can add all numbers by 1 many times. Please find out the minimum times you need to perform to obtain an array whose great...原创 2019-05-03 08:42:22 · 169 阅读 · 0 评论 -
UPC Contest 1746 Bits Reverse
题目描述 Now given two integers x and y, you can reverse every consecutive three bits in arbitrary number’s binary form (any leading zero can be taken into account) using one coin. Reversing (1,2,3) mean...原创 2019-05-03 08:40:25 · 141 阅读 · 0 评论 -
UPC Contest 1747 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 overseas trip, or are working, studying or living overseas for an exten...原创 2019-05-03 19:21:43 · 155 阅读 · 0 评论 -
UPC Contest 1747 THE TOWER
题目描述 The Tower shows atall tower perched on the top of a rocky mountain. Lightning strikes, setting the building alight, and two people leap frnm the windows, head first and arms outstretched. It is...原创 2019-05-03 21:31:18 · 365 阅读 · 0 评论 -
UPC Contest 1748 Little Sub and Triangles
题目描述 Little Sub loves triangles. Now he has a problem for you. Given n points on the two-dimensional plane, you have to answer many queries. Each query require you to calculate the number of triangle...原创 2019-05-04 20:51:24 · 274 阅读 · 0 评论 -
UPC Contest 1748 Little Sub and Triples
题目描述 Little Sub has learned a new word ’Triple’, which usually means a group with three elements in it. Now he comes up with an interesting problem for you. Define Given an positive integer sequence...原创 2019-05-04 21:02:49 · 158 阅读 · 0 评论 -
UPC Contest 1748 Little Sub and Enigma
题目描述 Little Sub builds a naive Enigma machine of his own. It can only be used to encrypt/decrypt lower-case letters by giving each letter a unique corresponding lower-case letter. In order to ensure ...原创 2019-05-04 21:07:44 · 172 阅读 · 0 评论 -
UPC Contest 1748 Little Sub and Counting
题目描述 Little Sub likes Math. Now he has a simple counting problem for you. Given an positive integer sequence A, for each Ai , Please calculate how many elements Aj in the sequence satisfi ed 输入 ...原创 2019-05-04 21:20:21 · 278 阅读 · 0 评论
分享