GDUT排位赛1
qq_43490894
这个作者很懒,什么都没留下…
展开
-
I. Convention II(优先队列)
http://codeforces.com/group/NVaJtLaLjS/contest/238203/problem/II. Convention IItime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output...原创 2019-02-17 16:02:32 · 182 阅读 · 0 评论 -
G. Back and Forth(dfs)
http://codeforces.com/group/NVaJtLaLjS/contest/238203/problem/GG. Back and Forthtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFarmer John h...原创 2019-02-17 15:43:27 · 126 阅读 · 0 评论 -
E. Convention(二分)
http://codeforces.com/group/NVaJtLaLjS/contest/238203/problem/EE. Conventiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCow...原创 2019-02-17 15:31:10 · 119 阅读 · 0 评论 -
C. Mooyo Mooyo(dfs)
题目链接题目大意:给你n,k n为行数 列数为10,矩阵中有0~9的数字,0代表无,k为消去相同数字的最小个数。若一个数的的上下左右有一个数与它相同,则它们是连通的。连通数若>=k,则可以将连通数字变为0;消去后,由于重力非0数字下落。空位用0代替。下落后可能会产生新的连通块,继续消去,在模拟重力下落。直至无连通块。输出模拟后的图。题目分析:求连通块用dfs ,再...原创 2019-02-17 14:34:06 · 156 阅读 · 0 评论 -
B. Teamwork(dp)
题目链接B. Teamworktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor his favorite holiday, Farmer John wants to send presents to ...原创 2019-02-17 14:31:34 · 102 阅读 · 0 评论 -
A. The Bucket List
题目链接A. The Bucket Listtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFarmer John is considering a change in how he allocates b...原创 2019-02-17 14:07:24 · 243 阅读 · 0 评论