ID 5700870
Пользователь Пиляй Николай Владимирович
Время 22:16<< 05.11.2021 22:26 (16 д. 20:26) 22:28>>
Обработка 22:26 ... 22:26 (2,25 сек.)
Файл 5700870.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:8:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:15:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:34:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:52:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:55:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:79:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:79:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:83:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:83:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:87:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 10
0.045s 0.011s 9