I like mathemagic and computering
Whatever people say I am, that's what I'm not. 日本語も話せます。
1v1 me bro
- Mountain View, California
- @Vicfred
- vicfred
- https://www.youtube.com/vicfredmx
- https://www.vicfred.dev/
Highlights
Pinned Loading
-
-
how many flips until n heads
how many flips until n heads 1// How many times do you have to flip a coin
2// to get n heads?
3#include <random>
4#include <iostream>
5 -
pi approximation using random points...
pi approximation using random points in a circle 1// approximate pi using random points in a square
2// compile using: g++ pi.cpp -o pi
3// and then run using: ./pi
4#include <iostream>
5#include <iomanip>
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.