上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 97 下一页
摘要: 【概述】 所谓分块,即对于一个长度为 n 的序列,设块的大小为 S,从序列的第一个元素起,每 S 个元素被分成一块,若剩余的元素不足 S 个,令他们组成一块。经过分块后的数组,称为块状数组,在块状数组的基础上加以扩展,即可得到块状链表。 在一个区间操作时,完整... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(37) 评论(0) 推荐(0)
摘要: Problem Description There are two decks of cards lying on the table in front of you, some cards in these decks lay face up, som... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(22) 评论(0) 推荐(0)
摘要: Problem Description Vasya should paint a fence in front of his own cottage. The fence is a sequence of nwooden boards arranged ... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(26) 评论(0) 推荐(0)
摘要: Problem Description In the autumn of this year, two Russian teams came into the group stage of the most prestigious football cl... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(0) 评论(0) 推荐(0)
摘要: Problem Description Overall there are m actors in Berland. Each actor has a personal identifier — an integer from 1 to m (disti... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(91) 评论(0) 推荐(0)
摘要: Problem Description You are given an elliptical shaped land and you are asked to choose n arbitrary points on its boundary. The... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(33) 评论(0) 推荐(0)
摘要: Problem Description Given a list of N integers with absolute values no larger than 10 15, find a non empty subset of these numb... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(109) 评论(0) 推荐(0)
摘要: 【概述】 集合,是集合论中主要研究对象,是指具有某种特定性质的具体的或抽象的对象汇总而成的集体,其中,构成集合的这些对象则称为该集合的元素。 集合中元素的数目称为集合的基数,集合 A 的基数记作:card(A),当其为有限大时,集合 A 称为有限集,反之则为无... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(551) 评论(0) 推荐(0)
摘要: Problem Description One day Petya got a birthday present from his mom: a book called "The Legends and Myths of Graph Theory". F... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(88) 评论(0) 推荐(0)
摘要: Problem Description General Payne has a battalion of n soldiers. The soldiers' beauty contest is coming up, it will last for k ... 阅读全文
posted @ 2022-09-20 22:52 老程序员111 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 97 下一页