【ACM常用技巧】
qq_36424540
这个作者很懒,什么都没留下…
展开
-
冥土追魂
链接:https://www.nowcoder.com/acm/contest/212/B来源:牛客网 题目描述有一天 Misaka 和 Kuroko 在玩一个关于冥土追魂的游戏....Misaka和Kuroko在一个 n x m 的棋盘上玩游戏,每个格子上都放着一些呱太。游戏共进行 k 回合,每一回合 Kuroko会选**有呱太**的一行 i,在这之后Misaka会选择一列 j ,...原创 2018-10-17 11:24:51 · 466 阅读 · 0 评论 -
Rebuild hdu-5531 (精度)
Archaeologists find ruins of Ancient ACM Civilization, and they want to rebuild it.The ruins form a closed path on an x-y plane, which has n endpoints. The endpoints locate on (x1,y1), (x2,y2), …,(xn...原创 2018-10-06 21:35:32 · 168 阅读 · 0 评论 -
233 Matrix HDU - 5015
In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here is the question: Suppose we have a matrix called 233 matrix. I...原创 2018-09-07 10:43:00 · 147 阅读 · 0 评论 -
BE, GE or NE (PN 结点)
In a world where ordinary people cannot reach, a boy named "Koutarou" and a girl named "Sena" are playing a video game. The game system of this video game is quite unique: in the process of playing th...原创 2018-09-10 17:13:27 · 455 阅读 · 0 评论 -
Sewage Treatment HihoCoder - 1389 (二分+网络流+剪枝) SAP
After years of suffering, people could not tolerate the pollution in the city any more, and started a long-lasting protest. Eventually, the municipal government made up its mind to deal with the sewag...原创 2018-09-11 18:59:17 · 150 阅读 · 0 评论 -
Requirements POJ - 2926
An undergraduate student, realizing that he needs to do research to improve his chances of being accepted to graduate school, decided that it is now time to do some independent research. Of course, he...原创 2018-08-23 16:57:04 · 89 阅读 · 0 评论 -
Color it
链接:https://www.nowcoder.com/acm/contest/163/F来源:牛客网 题目描述There is a matrix A that has N rows and M columns. Each grid (i,j)(0 ≤ i < N, 0 ≤ j < M) is painted in white at first.Then we perfo...原创 2018-08-07 10:26:28 · 153 阅读 · 0 评论 -
Swordsman
Problem DescriptionLawson is a magic swordsman with k kinds of magic attributes v1,v2,v3,…,vk. Now Lawson is faced with n monsters and the i-th monster also has k kinds of defensive attributes ai,1,...原创 2018-08-14 15:55:38 · 371 阅读 · 0 评论 -
Bit Compression
链接:https://www.nowcoder.com/acm/contest/145/C来源:牛客网 题目描述A binary string s of length N = 2n is given. You will perform the following operation n times :- Choose one of the operators AND (&),...原创 2018-08-10 15:25:07 · 287 阅读 · 0 评论 -
题目1 : Same Letters In A Row
描述Litter Ho has a string of lowercase letters. He wants to re-order the letters so that the same letters are placed together in a row.Unfortunately he can do at most K times of swaps. Each time he...原创 2018-11-19 21:26:15 · 436 阅读 · 0 评论