07 2021 档案
摘要:A . Calculus Samples Input 21sinx+0cosx+3x+6/sinx0 Output NOYES 因...
阅读全文
摘要:题目描述 FZYZ 大门的左侧有一排 n 棵树木。它们按照距离的远近排列,第 1 棵树的高度为 a1 米,第 2 棵树木的高度为 a2 米,第 3 棵树木的高度为 a3 米,……,第 n 棵树木的高度为 an米。 为了给同学们以积极向上的感觉,一些同学自发地决定对树木进行修剪,使得树木呈现上升的趋势
阅读全文
摘要:题意:找到n ^ 1 … n ^ m中最小为出现的非负整数 int main() { int _ = read; wh...
阅读全文
摘要:题目网址:链接 int head[maxn];int n,m,cnt,tot;ll a[maxn],b[maxn],c[ma...
阅读全文
摘要:题目描述 There is an integer sequence A of length N. Find the number of the pairs of integers l and r (1≤l≤r≤N) that satisfy the following condition: Al x
阅读全文
摘要:题目描述 There is an integer sequence A of length N. Find the number o...
阅读全文
摘要:题目描述 小Z有一个01序列A=(A1,A2,A3,…,An)。他可以进行一次操作:选择一个区间L,R将其反转。 例如,对于序列A=...
阅读全文
摘要:题目描述 在一次运会上,有一个比赛项目,共有N个人参加比赛,要将这N个人分组,每组人数不少于K个,问有多少种分组方式? 比如有16个...
阅读全文
摘要:Description A tree is an undirected connected graph without cycles. You are given a tree of n vertices. Find the number of ways to choose exactly k ve
阅读全文
摘要:Description A tree is an undirected connected graph without cycles...
阅读全文
摘要:下面这个题是二维偏序问题 所谓偏序问题,是指多约束条件的元素统计等问题 如下: 题目链接 Check List 题目描述 When ...
阅读全文
摘要:样例输入 【样例1】 3 21 7 05 8 1110 4 2 【样例2】 3 31 2 34 5 67 8 9 样例输出 【样...
阅读全文
摘要:Description You are given an integer x. Can you make x by summing ...
阅读全文
摘要:A. 联通数 题目描述 数学高手小G最近发现了一种新型的数! 他首先在草稿纸写下任意长度的数字串kkkkkkkkkkk…(1≤k≤9...
阅读全文
摘要:参考文章:链接 题目链接:链接 题目描述 The 2020 hang gliding world championships a...
阅读全文
摘要:Description You have a maze with obstacles and non-zero digits in ...
阅读全文
摘要:2021暑假康复性训练 Codeforces Round #731 (Div. 3)A Shortest Path with Ob...
阅读全文