Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 488 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 488 Bytes

birthday Build Status

Calculator for probability of collision given h holes and p pigeons

Installation

$ go get github.com/voutasaurus/birthday

Usage

$ birthday -h $[3000*1000] -p 4000
93.05%

N.B. The $[3000*1000] is bash syntax. -h and -p both expect an integer.

Contributions

Issues and PRs welcome.