上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页
摘要: 样例输入: 5 121 5 53 4 104 10 611 12 510 12 3 样例输出 3 样例输入: 1 101 10 2... 阅读全文
posted @ 2021-08-03 12:53 PushyTao 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 动态规划简单题 我们设置二维数组dp[size][2],其中dp[i][0]代表第i 天不持有股票的最大价值 其中dp[i][1]... 阅读全文
posted @ 2021-08-02 21:33 PushyTao 阅读(29) 评论(0) 推荐(0) 编辑
摘要: Java大数BigInteger-用法记录 提交代码使用方式构造一个对象加 add减 subtract乘 multiply除 di... 阅读全文
posted @ 2021-08-01 20:38 PushyTao 阅读(412) 评论(0) 推荐(0) 编辑
摘要: A . Calculus Samples Input 21sinx+0cosx+3x+6/sinx0 Output NOYES 因... 阅读全文
posted @ 2021-07-31 12:22 PushyTao 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 题目描述 FZYZ 大门的左侧有一排 n 棵树木。它们按照距离的远近排列,第 1 棵树的高度为 a1 米,第 2 棵树木的高度为 a2 米,第 3 棵树木的高度为 a3 米,……,第 n 棵树木的高度为 an米。 为了给同学们以积极向上的感觉,一些同学自发地决定对树木进行修剪,使得树木呈现上升的趋势 阅读全文
posted @ 2021-07-31 10:23 PushyTao 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 题意:找到n ^ 1 … n ^ m中最小为出现的非负整数 int main() { int _ = read; wh... 阅读全文
posted @ 2021-07-30 12:19 PushyTao 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 题目网址:链接 int head[maxn];int n,m,cnt,tot;ll a[maxn],b[maxn],c[ma... 阅读全文
posted @ 2021-07-28 12:34 PushyTao 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 题目描述 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 阅读全文
posted @ 2021-07-27 12:44 PushyTao 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 题目描述 There is an integer sequence A of length N. Find the number o... 阅读全文
posted @ 2021-07-27 12:44 PushyTao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 题目描述 小Z有一个01序列A=(A1,A2,A3,…,An)。他可以进行一次操作:选择一个区间L,R将其反转。 例如,对于序列A=... 阅读全文
posted @ 2021-07-25 20:50 PushyTao 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页