ID 5731309
Пользователь Орлов Андрей Сергеевич
Время 11.11.2021 16:02 (22 д. 14:03) 16:08>>
Обработка 16:02 ... 16:02 (9,41 сек.)
Файл 5731309.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача B: Фабрика
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
factory.h:4:  public: should be indented +1 space inside class Object  [whitespace/indent] [3]
factory.h:10:  public: should be indented +1 space inside class Smth1  [whitespace/indent] [3]
factory.h:11:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
factory.h:18:  private: should be indented +1 space inside class Smth1  [whitespace/indent] [3]
factory.h:30:  public: should be indented +1 space inside class Factory  [whitespace/indent] [3]
factory.h:31:  Missing space before {  [whitespace/braces] [5]
factory.h:35:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
factory.h:38:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
factory.h:38:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
factory.h:34:  Add #include <string> for string  [build/include_what_you_use] [4]
factory.h:42:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing factory.h
Total errors found: 11
[печатать | |
]
(952 b)
0.105s 0.016s 10