mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-09-04 01:01:43 +00:00
update
This commit is contained in:
parent
78bac3ae8a
commit
2a16cbde54
14
src/8/21/strexpect.cpp
Normal file
14
src/8/21/strexpect.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
假设一个随机数生成器每次随机一个数[1,n],形成一个无限长的字符串s,
|
||||
给定一个长度为m的数,那么第一次在s中出现位置的期望是多少
|
||||
|
||||
n=2 12 的位置
|
||||
e[1]=1/2*1+1/2*(e[1]+1)
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
int main(){
|
||||
|
||||
}
|
3
src/8/22/P1297.cpp
Normal file
3
src/8/22/P1297.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
int main(){
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user