ujn20161222的博客

life is like a box of chocolates you never know what you re gonna get

F. Minimal k-covering+最大流

F. Minimal k-coveringtime limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a ...

2018-05-31 13:10:36

阅读数:30

评论数:0

Thief in a Shop+dp计数

Thief in a Shoptime limit per test5 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputA thief made his way to a shop.A...

2018-05-30 11:24:16

阅读数:25

评论数:0

C. AND Graph+dfs

每次dfs尝试所有可能相连的状态C. AND Graphtime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a set...

2018-05-30 10:38:02

阅读数:44

评论数:0

B. Petr and Permutations+数学

分组有n个元素的组需要交换n-1次这样n-cyc就是最少的交换次数petr与n奇偶一致,这样判断n与最少次数是否一致B. Petr and Permutationstime limit per test2 secondsmemory limit per test256 megabytesinput...

2018-05-30 09:57:44

阅读数:101

评论数:0

A. Fair+bfs

把各种颜色到每个点的距离算出来d[j]记录所有颜色到这一个点的距离然后取前s个A. Fairtime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputS...

2018-05-30 09:01:40

阅读数:49

评论数:0

B. High School: Become Human+取log

B. High School: Become Humantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYear 2118. Androids ...

2018-05-30 08:26:38

阅读数:40

评论数:0

B2. Maximum Control (medium)+树的直径+思维

B2. Maximum Control (medium)time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Resista...

2018-05-29 21:58:23

阅读数:105

评论数:0

typename...

https://msdn.microsoft.com/zh-cn/library/dn439779.aspx #include <iostream> using namespace std; void print() { ...

2018-05-29 19:53:06

阅读数:20

评论数:0

C3. Encryption (hard)+dp

C3. Encryption (hard)time limit per test2.2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputHeidi is now jus...

2018-05-29 17:45:45

阅读数:31

评论数:0

Avito Code Challenge 2018+F. Round Marriage +二分+构造

这里用两倍长度才会出现下标上的m_diffF. Round Marriagetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's marr...

2018-05-28 20:59:42

阅读数:45

评论数:0

E. Addition on Segments+Avito Code Challenge 2018 树分治

E. Addition on Segmentstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGrisha come to a contest...

2018-05-28 19:19:49

阅读数:29

评论数:0

D. Bookshelves+Avito Code Challenge 2018+数位

D. Bookshelvestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMr Keks is a typical white-collar ...

2018-05-28 13:35:57

阅读数:41

评论数:0

Maximum Clique+最大团

Given a graph G(V, E), a clique is a sub-graph g(v, e), so that for all vertex pairs v1, v2 in v, there exists an edge (v1, v2) in e. Maximum cliqu...

2018-05-24 19:11:44

阅读数:80

评论数:1

contest985F. Isomorphic Strings+二重哈希+幂次方构造

F. Isomorphic Stringstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s o...

2018-05-24 09:26:41

阅读数:56

评论数:0

Bone Collector 分支限界

Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , co...

2018-05-23 19:32:19

阅读数:30

评论数:0

codeforces contest 985E. Pencils and Boxes+思维

类似指针的想法E. Pencils and Boxestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMishka recei...

2018-05-23 11:31:30

阅读数:30

评论数:0

codeforces+contest+985D. Sand Fortress+思维

二分枚举长度去算这一个点左边有多少个D. Sand Fortresstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are going...

2018-05-23 10:00:20

阅读数:32

评论数:0

codeforces+contest985C. Liebig's Barrels+greedy

//类似指针的想法//偏移C. Liebig's Barrelstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou hav...

2018-05-22 20:06:27

阅读数:37

评论数:0

第九届山东省ACM大学生程序设计总结

1.敢开题2.不要死抠,你有可能在坑里3.榜可能偏了4.做适合你做的5.不要怕花时间读题

2018-05-22 17:17:32

阅读数:18

评论数:0

第九届山东省ACM大学生程序设计Dominoes +bfs

链接:https://www.nowcoder.com/acm/contest/123/H来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 65536K,其他语言131072K 64bit IO Format: %lld题目描述 Orz likes to play dom...

2018-05-22 17:07:35

阅读数:65

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭