上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 97 下一页
摘要: Problem Description Alice and Brown loves games. Today, they will play the following game. In this game, there are two piles i... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(35) 评论(0) 推荐(0)
摘要: Problem Description You are given an integer sequence of length N. The i-th term in the sequence is ai. In one operation, you c... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(73) 评论(0) 推荐(0)
摘要: Problem Description On a two-dimensional plane, there are m lines drawn parallel to the x axis, and n lines drawn parallel to t... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(118) 评论(0) 推荐(0)
摘要: Problem Description Snuke loves "paper cutting": he cuts out characters from a newspaper headline and rearranges them to form a... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(16) 评论(0) 推荐(0)
摘要: Problem Description Ali has taken the Computer Organization and Architecture course this term. He learned that there may be dep... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(30) 评论(0) 推荐(0)
摘要: 【AOE 网】 在表示一个工程时,用顶点表示事件,用弧表示活动,权值表示活动的持续时间,这样的有向图即为 AOE 网。 其有两个性质: 在顶点表示事件发生之后,从该顶点出发的有向弧所表示的活动才能开始。在进入某个顶点的有向弧所表示的活动完成之后,该顶点表示的事... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(168) 评论(0) 推荐(0)
摘要: 【题目描述】 明明做作业的时候遇到了n个二次函数Si(x)= ax2 + bx + c,他突发奇想设计了一个新的函数F(x) = max(Si(x)), i = 1...n. 明明现在想求这个函数在[0,1000]的最小值,要求精确到小数点后四位四舍五... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(20) 评论(0) 推荐(0)
摘要: 【概述】 查找是在具相同类型的记录构成的集合中,找出满足给定条件的记录,给定的查找条件是多样的,为便于讨论,将查找条件限制为 “匹配”,即查找关键码等于给定值的记录。 在查找中,常将数据元素称为记录,将可以标识一个记录的某个数据项称为关键码,关键码的值称为键值... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(23) 评论(0) 推荐(0)
摘要: 【概述】 1.通常所说的排序算法指的是内部排序算法,即:数据记录在内存中进行排序。 2.排序算法大体可分为两种: 1)非线性时间比较类排序:交换类排序、插入类排序、选择类排序、归并排序,时间复杂度O(nlogn) ~ O(n^2)。 2)线性时间非... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(51) 评论(0) 推荐(0)
摘要: 【题目描述】 你在一个 n 行 m 列的网格迷宫中,迷宫的每一格要么为空,要么有一个障碍。 你当前在第 r 行第 c 列(保证该格子为空)。每次移动你可以向上下左右任意一个方向移动一格,前提是不能走到障碍上,也不能超出迷宫的边界。 你向左移动的次数不能超... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 97 下一页