
###### 其他 ######
文章平均质量分 80
至此曾经
从未坚持?
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces 814C An impassioned circulation of affection
C. An impassioned circulation of affection time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Nadeko's birthday is approaching! As she decor原创 2017-06-07 23:51:51 · 767 阅读 · 2 评论 -
计蒜客 query on a string
You have two strings SS and TT in all capitals. Now an efficient program is required to maintain a operation and support a query. The operation C~i~chC i ch with given integer ii and capital let原创 2017-09-13 17:57:10 · 293 阅读 · 0 评论 -
codeforces 846B Math Show
B. Math Show time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Polycarp takes part in a math show. He is given n tasks, each consists of k s原创 2017-09-06 19:27:34 · 691 阅读 · 0 评论 -
codeforces 846F Random Query
F. Random Query time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given an array a consisting of n positive integers. You pick two原创 2017-09-06 19:43:06 · 564 阅读 · 0 评论 -
coderforces 846D Monitor
D. Monitor time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Recently Luba bought a monitor. Monitor is a rectangular matrix of size n × m.原创 2017-09-06 20:00:20 · 454 阅读 · 0 评论 -
hdu 6215 Brute Force Sorting
Problem Description Beerus needs to sort an array of N integers. Algorithms are not Beerus's strength. Destruction is what he excels. He can destroy all unsorted numbers in the array simultaneously.原创 2017-09-17 20:02:30 · 298 阅读 · 0 评论 -
CSUOJ 2005 nearest maintenance point
Description A county consists of n cities (labeled 1, 2, …, n) connected by some bidirectional roads. Each road connects a pair of distinct cities. A robot company has built maintenance points in s原创 2017-09-11 14:23:01 · 447 阅读 · 0 评论 -
hdu 5289 Assignment
Problem Description Tom owns a company and he is the boss. There are n staffs which are numbered from 1 to n in this company, and every staff has a ability. Now, Tom is going to assign a special task原创 2017-09-21 17:34:53 · 225 阅读 · 0 评论 -
51nod 1621 花钱买车牌 (贪心)
一个车牌号由n位数字组成。如果一个车牌至少有k位数字是相同的,那么我们就说这个车牌漂亮的车牌。现在华沙想要改变他自己的车牌,使得他的车牌变得漂亮。当然,改车牌是要花钱的。每改变一位数字所要花费的费用等于当前位上的新旧数字之差的绝对值。那么总费用就是每位上所花费用的总和。 举例如下, 旧牌为0123,新牌为7765,那么对应第一位所花费用为|0-7|=7,第二位为|1-7|=6,第三位为原创 2017-10-16 11:37:22 · 969 阅读 · 0 评论