From 2a16cbde54db78fc220958e578963d83a030edac Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Fri, 22 Aug 2025 11:14:06 +0800 Subject: [PATCH] update --- src/8/21/strexpect.cpp | 14 ++++++++++++++ src/8/22/P1297.cpp | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 src/8/21/strexpect.cpp create mode 100644 src/8/22/P1297.cpp diff --git a/src/8/21/strexpect.cpp b/src/8/21/strexpect.cpp new file mode 100644 index 0000000..6eafde0 --- /dev/null +++ b/src/8/21/strexpect.cpp @@ -0,0 +1,14 @@ +/* +假设一个随机数生成器每次随机一个数[1,n],形成一个无限长的字符串s, +给定一个长度为m的数,那么第一次在s中出现位置的期望是多少 + +n=2 12 的位置 +e[1]=1/2*1+1/2*(e[1]+1) + + + +*/ + +int main(){ + +} \ No newline at end of file diff --git a/src/8/22/P1297.cpp b/src/8/22/P1297.cpp new file mode 100644 index 0000000..294989d --- /dev/null +++ b/src/8/22/P1297.cpp @@ -0,0 +1,3 @@ +int main(){ + +} \ No newline at end of file