ID 5756840
Пользователь Псарев Александр Павлович
Время 13.11.2021 17:20 (24 д. 15:21) 17:23>>
Обработка 17:20 ... 17:20 (6,54 сек.)
Файл 5756840.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача B: Фабрика
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
factory.h:6:  public: should be indented +1 space inside class Object  [whitespace/indent] [3]
factory.h:31:  private: should be indented +1 space inside class Factory  [whitespace/indent] [3]
factory.h:33:  public: should be indented +1 space inside class Factory  [whitespace/indent] [3]
factory.h:33:  "public:" should be preceded by a blank line  [whitespace/blank_line] [3]
factory.h:39:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
factory.h:39:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
factory.h:43:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
factory.h:43:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
factory.h:47:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
factory.h:47:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
factory.h:57:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing factory.h
Total errors found: 11
[печатать | |
]
(1 351 b)
0.075s 0.009s 10