code: пункт 6 (изменение функции на вывод svg)
Этот коммит содержится в:
1
text.cpp
1
text.cpp
@@ -6,7 +6,6 @@ const std::size_t SCREEN_WIDTH = 80;
|
|||||||
const std::size_t MAX_ASTERISK = SCREEN_WIDTH - 3 - 1;
|
const std::size_t MAX_ASTERISK = SCREEN_WIDTH - 3 - 1;
|
||||||
|
|
||||||
void show_histogram_text(const std::vector<std::size_t> &bins){
|
void show_histogram_text(const std::vector<std::size_t> &bins){
|
||||||
std::cout<<std::endl;
|
|
||||||
std::size_t maxbin = bins[0];
|
std::size_t maxbin = bins[0];
|
||||||
for (std::size_t i=1; i < bins.size(); i++){
|
for (std::size_t i=1; i < bins.size(); i++){
|
||||||
if (maxbin < bins[i]){
|
if (maxbin < bins[i]){
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user