ID 5786610
Пользователь Матвеев Ян Альбертович
Время 16.11.2021 19:53 (27 д. 17:54) 19:54>>
Обработка 19:53 ... 19:53 (4,47 сек.)
Файл 5786610.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача B: Фабрика
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
factory.h:3:  public: should be indented +1 space inside class Object  [whitespace/indent] [3]
factory.h:8:  public: should be indented +1 space inside class Child  [whitespace/indent] [3]
factory.h:9:  Tab found; better to use spaces  [whitespace/tab] [1]
factory.h:9:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
factory.h:10:  Tab found; better to use spaces  [whitespace/tab] [1]
factory.h:11:  Tab found; better to use spaces  [whitespace/tab] [1]
factory.h:12:  Tab found; better to use spaces  [whitespace/tab] [1]
factory.h:13:  private: should be indented +1 space inside class Child  [whitespace/indent] [3]
factory.h:14:  Tab found; better to use spaces  [whitespace/tab] [1]
factory.h:21:  Missing space before {  [whitespace/braces] [5]
factory.h:23:  Add #include <string> for string  [build/include_what_you_use] [4]
Done processing factory.h
Total errors found: 11
[печатать | |
]
(569 b)
0.088s 0.008s 10