# BirthdayInPi **Repository Path**: hup2c/BirthdayInPi ## Basic Information - **Project Name**: BirthdayInPi - **Description**: No description available - **Primary Language**: Java - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-24 - **Last Updated**: 2021-10-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # BirthdayInPi #### 介绍 java 实现 查询生日在Π中的位置 经测试 查询小数点后5亿数据量末尾时间在1秒左右(数据太大需要自行生成pi.txt) ![image](https://github.com/right-also-right/MyPicGo/blob/main/birthday_in_pi_test.png) #### 使用教程(Windows) 0. 使用工具 y-cruncher 生成你想要的Π位数(项目中有生成好的小数点后2千500万位文件 pi.txt) 1. 进入项目根目录 CMD 命令 编译java文件 `javac -encoding utf-8 BirthdayInPi.java` 2. CMD 命令 运行 `java BirthdayInPi` 3. 根据提示进行查询 #### 使用截图 ![image](https://github.com/right-also-right/MyPicGo/blob/main/birthday_in_pi.png)