传送门 Description You have a positive integer m and a non-negative integer s. Your task is to find the smallest and the largest of the numbers that have ...
分类:
其他好文 时间:
2017-04-22 20:47:52
阅读次数:
231
For a web developer, it is very important to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now i ...
分类:
其他好文 时间:
2017-04-22 14:49:32
阅读次数:
219
Description Hackerland is a happy democratic country with m×n cities, arranged in a rectangular m by n grid and connected by m roads in the east-west ...
分类:
其他好文 时间:
2017-04-22 14:33:42
阅读次数:
298
传送门 Description Leonid wants to become a glass carver (the person who creates beautiful artworks by cutting the glass). He already has a rectangular w ...
分类:
其他好文 时间:
2017-04-21 00:12:53
阅读次数:
286
题目: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2, ...
分类:
其他好文 时间:
2017-04-18 20:56:29
阅读次数:
153
Description 0 s, 1 s and ? Marks Given a string consisting of 0, 1 and ? only, change all the ? to 0/1, so that the size of the largest group is minim ...
分类:
其他好文 时间:
2017-04-18 15:11:45
阅读次数:
131
直角坐标系概念(Rectangular coordinates) 在平面内画两条互相垂直,并且有公共原点的数轴。其中横轴为X轴,纵轴为Y轴。这样我们就说在平面上建立了平面直角坐标系,简称直角坐标系。 直角坐标系相关特性 坐标系所在平面叫做坐标平面,两坐标轴的公共原点叫做直角坐标系的原点。X轴和Y轴把 ...
分类:
其他好文 时间:
2017-04-18 11:20:46
阅读次数:
146
Treasure Map Your boss once had got many copies of a treasure map. Unfortunately, all the copies are now broken to many rectangular pieces, and what m ...
分类:
其他好文 时间:
2017-04-15 22:40:49
阅读次数:
293
题目链接:https://vjudge.net/problem/UVA-11324 题目大意:给定一张有向图G,求一个结点数最大的绩点集,集合中每两个点都至少有一条路径相连(方向任意)。 题解: 易知如果一个点选择,则它所在强连通分量中的其他点也一定可选,如果不选,则其他点也不可选,因此先求出强连通 ...
分类:
其他好文 时间:
2017-04-15 22:26:05
阅读次数:
191
Billboard Problem Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width ...
分类:
其他好文 时间:
2017-04-14 20:47:04
阅读次数:
183