海绵的博客

竞赛虐我千百遍,我待竞赛如初恋。 Never Give Up!!!

Wannafly挑战赛25 C 期望操作数

链接:https://www.nowcoder.com/acm/contest/197/C 来源:牛客网   题目描述 Nqijij 有一个数x,和一个神秘权值 q, 满足 x <= q, 每一次nqijij会随机x 变成 [x, q] 中的一个随机数,nqijij想要知...

2018-10-02 09:52:56

阅读数:45

评论数:3

Walk HDU - 5001

I used to think I could be anything, but now I know that I couldn't do anything. So I started traveling. The nation looks like a connected bidirectio...

2018-09-18 16:45:35

阅读数:11

评论数:0

Tribles UVA - 11021 (全概率公式)

#include<bits/stdc++.h> using namespace std; typedef long long LL; #define rep(i,a,b) for(int i=a;i<b;i++) cons...

2018-08-27 11:13:50

阅读数:30

评论数:0

Rikka with Stone-Paper-Scissors(全概率公式)

Problem Description Did you watch the movie "Animal World"? There is an interesting game in this movie. The rule is like tradition...

2018-08-27 11:09:11

阅读数:28

评论数:0

Burger UVA - 557

#include<bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,a,b) for(int i=a;i<b;i++) #defi...

2018-07-27 19:47:42

阅读数:19

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭