上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 97 下一页
摘要: Problem Description Now, Bob is playing an interesting game in which he is a general of a harmonious army. There are n soldiers... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(46) 评论(0) 推荐(0)
摘要: Problem Description Y_UME has just found a number x in his right pocket. The number is a non-negative integer ranging from 0 to... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(19) 评论(0) 推荐(0)
摘要: Problem Description Tom has a string containing only lowercase letters. He wants to choose a subsequence of the string whose le... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(23) 评论(0) 推荐(0)
摘要: Problem Description Tom and Jerry are going on a vacation. They are now driving on a one-way road and several cars are in front... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(133) 评论(0) 推荐(0)
摘要: Problem Description There are N blanks arranged in a row. The blanks are numbered 1,2,…,N from left to right. Tom is filling ea... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(112) 评论(0) 推荐(0)
摘要: 【概述】 压入与重标记算法(Push-Relable Algorithms)又称预留推进算法,是 GoldBerg 与 Tarjan 共同发现的,时间复杂度为 O(V*V*E) 该算法与 EK 、Dinic 等增广路算法一样是用于求最大流的,不同于增广路算法检... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(247) 评论(0) 推荐(0)
摘要: Problem Description Ivan loves burgers and spending money. There are nn burger joints on the street where Ivan lives. Ivan has ... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(32) 评论(0) 推荐(0)
摘要: Problem Description There is an integer sequence aa of length nn and there are two kinds of operations: 0 l r: select some nu... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(222) 评论(0) 推荐(0)
摘要: 区域赛网络赛的阶段结束了,通过 6 场比赛,对个人以及队伍的缺陷有了些许认识 对于个人来说,中等题出思路出的慢,而且思路容易偏,思路出的慢还好,最终能写出来,问题是思路一旦思路偏了,队友怎么拽都拽不回来,导致的结果就是疯狂交罚时,最后自闭 对于队伍来说,配合还... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(15) 评论(0) 推荐(0)
摘要: 【题目描述】 在一个 4×4 的棋盘上有 8 个黑棋和 8 个白棋,当且仅当两个格子有公共边,这两个格子上的棋是相邻的。移动棋子的规则是交换相邻两个棋子。 给出一个初始棋盘和一个最终棋盘,请找出一个最短的移动序列使初始棋盘变为最终棋盘。 【输入】 ... 阅读全文
posted @ 2022-09-20 22:51 老程序员111 阅读(214) 评论(0) 推荐(0)
上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 97 下一页