copypaste the content of this thing: https://raw.githubusercontent.com/yuvlian/hsr_warp_probability/main/main.rs
and run it here! https://play.rust-lang.org/?version=nightly&mode=release&edition=2021
known issues:
- putting max pity will break the calculator
- putting zero for one of the wanted copies will break the calculator too
just use https://hsr-warp-calculator.vercel.app/ i guess...