This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <iostream> | |
#include <random> | |
const int N = 1000; | |
const int TRIALS = 10; | |
// [memo] When "N" equals 1000, # of flops is 2000000000 | |
const double nFlops = 2.0 * 1000 * 1000 * 1000; |