Skip to content

Instantly share code, notes, and snippets.

// Prisoners Puzzle YT Video by Veritasium ////////////////////////////////////
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <algorithm>
#define EXPERIMENTS 100000
#define PRISONERS 1000