Код: Выделить всё
#include
#include
using namespace std;
using namespace std::chrono;
void method1(long long &comparisons) {
int count = 0;
comparisons = 0;
for (int x = 50; x
Подробнее здесь: [url]https://stackoverflow.com/questions/79452322/benchmarking-two-c-implementations-for-counting-pairs-divisible-by-7[/url]
Мобильная версия