online judge cf->gym
QiufengWang424
这个作者很懒,什么都没留下…
展开
-
【codeforce Gym 100570B】【最短路SPFA】 ShortestPath Query 【询问单源最短路径,每条边有一个颜色,要求路径上相邻边的颜色不能相同】
传送门:gym 100570B 描述: B. ShortestPath Query time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output De Prezer lo原创 2016-10-14 15:37:05 · 560 阅读 · 0 评论 -
【CF Gym 100637K】 Microcircuits 【DP】【环上n个点,问不相交的连k条线的方案数】
传送门: 描述: K. Microcircuits time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You probably know原创 2016-10-14 10:43:07 · 1533 阅读 · 0 评论 -
【codeforces gym 100187J】 【dfs判连通】Deck Shuffling 【给你一堆牌和一些洗牌机,后者可以改变牌的顺序,问你能不能把数字为x的牌洗到第一个位置。】
传送门:J. Deck Shuffling 描述: J. Deck Shuffling time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output原创 2016-10-10 21:43:06 · 1077 阅读 · 0 评论