ID 5782950
Пользователь Thanks to the CWC partners from the GreenTeaNeko
Время 00:19<< 16.11.2021 00:23 (26 д. 22:23) 00:25>>
Обработка 00:23 ... 00:23 (2,93 сек.)
Файл figure.h (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:13:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:20:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:32:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:39:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:52:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:58:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:59:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:70:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:82:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:82:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:87:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:87:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
Done processing figure.h
Total errors found: 12
[печатать | |
]
(2 095 b)
0.059s 0.013s 10