YunYan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 37 下一页

2019年9月4日

摘要: output standard output output standard output output The only difference between easy and hard versions is the number of elements in the array. You ar 阅读全文
posted @ 2019-09-04 11:40 Target--fly 阅读(312) 评论(0) 推荐(0) 编辑

2019年9月2日

摘要: https://ac.nowcoder.com/acm/contest/879/B 链接:https://ac.nowcoder.com/acm/contest/879/B来源:牛客网 你在练习 dp,你每一次会有 p 的概率成功,1-p 的概率失败 求投 n 次后,至少有 k 次成功的概率 答案模 阅读全文
posted @ 2019-09-02 16:28 Target--fly 阅读(561) 评论(0) 推荐(0) 编辑

2019年8月25日

摘要: l例题连接:https://www.luogu.org/problem/P1908 猫猫TOM和小老鼠JERRY最近又较量上了,但是毕竟都是成年人,他们已经不喜欢再玩那种你追我赶的游戏,现在他们喜欢玩统计。最近,TOM老猫查阅到一个人类称之为“逆序对”的东西,这东西是这样定义的:对于给定的一段正整数 阅读全文
posted @ 2019-08-25 11:10 Target--fly 阅读(299) 评论(0) 推荐(0) 编辑

摘要: https://www.cnblogs.com/vectors07/p/8053427.html 即 一个n边形(n>=3) 沿着顶点切割,分割成三角形,最多有多少种方案 阅读全文
posted @ 2019-08-25 09:04 Target--fly 阅读(345) 评论(0) 推荐(0) 编辑

2019年8月24日

摘要: C 小石的海岛之旅 链接:https://ac.nowcoder.com/acm/contest/949/C来源:牛客网 暑假到了,小石和小雨到海岛上玩。 从水平方向看海岛可以看成 nnn个小块,每一个小块都有一个高度hih_ihi​, 水位一开始为 000,随着水位的上升,海岛分成了若干块。 现在 阅读全文
posted @ 2019-08-24 10:27 Target--fly 阅读(175) 评论(0) 推荐(0) 编辑

2019年8月23日

摘要: dp[n][m]指从n个数中挑选m个 还可以直接根据定义计算 阅读全文
posted @ 2019-08-23 13:03 Target--fly 阅读(176) 评论(0) 推荐(0) 编辑

2019年8月22日

摘要: D. Tom的战力问题 Tom被斯派克揍了TAT。Tom下定决心要战胜斯派克。但是在战胜最强的斯派克之前,Tom要先打败其他的狗。为此,他打算先收集一下信息。现在Tom在了得到了一些关于战斗力的小道消息,例如X号狗狗的战力比Y号狗狗的战力高S点。Tom想知道利用这些消息,能不能判断出某两只狗之间的战 阅读全文
posted @ 2019-08-22 20:47 Target--fly 阅读(265) 评论(0) 推荐(0) 编辑

2019年8月19日

摘要: 模板一: Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by water for 阅读全文
posted @ 2019-08-19 16:41 Target--fly 阅读(141) 评论(0) 推荐(0) 编辑

摘要: I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains 阅读全文
posted @ 2019-08-19 15:46 Target--fly 阅读(224) 评论(0) 推荐(0) 编辑

2019年8月18日

摘要: steve 学完了快速幂,现在会他快速的计算:(ij)%d , Alex 作为一个数学大师,给了 steve 一个问题:已知i∈[1,n],j∈[1,m] ,计算满足 (ij)%d=0 的 (i,j) 的对数。 steve 学完了快速幂,现在会他快速的计算:(ij)%d , Alex 作为一个数学大 阅读全文
posted @ 2019-08-18 23:11 Target--fly 阅读(142) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 37 下一页