ACM
血液里的烈马
就当笔记了
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces 978F. Mentors(1ni)(二分)
F. Mentorstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn BerSoft nn programmers work, the programmer ii is characterized by a skill riri.A pro...原创 2018-05-19 11:57:47 · 389 阅读 · 0 评论 -
Codeforces 989C. A Mist of Florescence(div2)(1ni)(思维)
C. A Mist of Florescencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs the boat drifts down the river, a wood full of blossoms shows up on the ...原创 2018-06-12 20:41:31 · 275 阅读 · 0 评论 -
Codeforces 987B. High School: Become Human(1ni)(数学水题)
B. High School: Become Humantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYear 2118. Androids are in mass production for decades now, and they do...原创 2018-05-30 13:10:50 · 359 阅读 · 1 评论 -
CodeWars Recover a secret string from random triplets(1ni)(思维)
地址 点击打开链接There is a secret string which is unknown to you. Given a collection of random triplets from the string, recover the original string.A triplet here is defined as a sequence of three letters s...原创 2018-06-14 20:46:26 · 1401 阅读 · 1 评论 -
CodeWars Best travel (1ni)(itertools import combinations)
地址:点击打开链接With list ls and 3 towns to visit they can make a choice between: [50,55,57],[50,55,58],[50,55,60],[50,57,58],[50,57,60],[50,58,60],[55,57,58],[55,57,60],[55,58,60],[57,58,60].The sums of dis...原创 2018-06-15 20:34:54 · 351 阅读 · 0 评论 -
数据结构与算法——KMP详解,带模版(1ni)
数据结构与算法(10) KMP算法原创 2019-01-12 19:27:49 · 205 阅读 · 0 评论 -
数据结构与算法——二进制枚举,带模版(1ni)
数据结构与算法(9) 二进制枚举原创 2019-01-12 19:29:05 · 255 阅读 · 0 评论 -
数据结构与算法——二叉堆,带模版(1ni)
数据结构与算法(1)-二叉堆原创 2019-01-12 19:29:54 · 209 阅读 · 0 评论 -
POJ 2823 Sliding Window 单调队列(1ni)
题目地址Sliding WindowTime Limit: 12000MS Memory Limit: 65536K Total Submissions: 74491 Accepted: 21112 Case Time Limit: 5000MS DescriptionAn array of size n ≤ 106 is given to ...原创 2019-02-09 19:13:21 · 224 阅读 · 0 评论 -
Codeforces 990C. Bracket Sequences Concatenation Problem(div2)(1ni)(思维)
C. Bracket Sequences Concatenation Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA bracket sequence is a string containing only character...原创 2018-06-12 20:37:16 · 285 阅读 · 0 评论 -
Codeforces 990B. Micro-World(div2)(1ni)(STL)
B. Micro-Worldtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a Petri dish with bacteria and you are preparing to dive into the harsh mic...原创 2018-06-12 20:31:47 · 290 阅读 · 0 评论 -
Codeforces 445 B. DZY Loves Chemistry(1ni) (BFS)
B. DZY Loves Chemistrytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves chemistry, and he enjoys mixing chemicals.DZY has n chemicals, and ...原创 2018-05-19 20:13:56 · 189 阅读 · 0 评论 -
Codeforces 450B. Jzzhu and Sequences(1ni)(规律水题)
B. Jzzhu and Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputJzzhu has invented a kind of sequences, they meet the following property:You ...原创 2018-05-19 21:51:18 · 178 阅读 · 0 评论 -
Codeforces 978 G. Petya's Exams(1ni)
G. Petya's Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies at university. The current academic year finishes with nn special day...原创 2018-05-15 22:48:09 · 533 阅读 · 0 评论 -
Codeforces 988C. Equal Sums(1ni)(STL)
C. Equal Sumstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given kk sequences of integers. The length of the ii-th sequence equals to ni...原创 2018-06-02 20:14:39 · 311 阅读 · 0 评论 -
Codeforces 978D. Almost Arithmetic Progression(1ni)
题目地址 点击打开链接D. Almost Arithmetic Progressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp likes arithmetic progressions. A sequence [a1,a...原创 2018-05-16 11:58:34 · 865 阅读 · 0 评论 -
Codeforces 985A. Chess Placing(1ni)(水题)(div.2)
A. Chess Placingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a chessboard of size 1 × n. It is guaranteed that n is even. The ches...原创 2018-05-22 21:00:11 · 371 阅读 · 2 评论 -
Codeforces 985B. Switches and Lamps(1ni)(思维)(Div.2)
B. Switches and Lampstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n switches and m lamps. The i-th switch turns on some subset of...原创 2018-05-22 21:23:40 · 221 阅读 · 0 评论 -
Codeforces 985C. Liebig's Barrels木桶(1ni)(贪心)(Div.2)
C. Liebig's Barrelstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have m = n·k wooden staves. The i-th stave has length ai....原创 2018-05-22 22:20:15 · 361 阅读 · 0 评论 -
POJ 3253 Fence Repair 优先队列(1ni)
Fence RepairTime Limit:2000MS Memory Limit:65536K Total Submissions:67733 Accepted:22293 DescriptionFarmer John wants to repair a small length of the fence around the pastu...原创 2019-04-09 15:32:58 · 267 阅读 · 0 评论
分享