code:Добавлено подключение нового заголовка ...internal
Этот коммит содержится в:
@@ -1,9 +1,10 @@
|
|||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
|
#include "histogram_internal.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
static void find_minmax(const vector<double>& numbers, double& min, double& max) {
|
void find_minmax(const vector<double>& numbers, double& min, double& max) {
|
||||||
min = numbers[0];
|
min = numbers[0];
|
||||||
max = numbers[0];
|
max = numbers[0];
|
||||||
for (double x : numbers) {
|
for (double x : numbers) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user