ID 5588797
Пользователь Корягин Роман Сергеевич
Время 16:50<< 31.10.2021 16:52 (11 д. 14:52) 16:53>>
Обработка 16:52 ... 16:52 (4,35 сек.)
Файл 5588797.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:20:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:21:  You don't need a ; after a }  [readability/braces] [4]
figure.h:22:  You don't need a ; after a }  [readability/braces] [4]
figure.h:23:  You don't need a ; after a }  [readability/braces] [4]
figure.h:28:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:28:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:31:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:31:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:36:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:48:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:52:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:53:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:56:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:61:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:74:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:74:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:75:  Missing space before {  [whitespace/braces] [5]
figure.h:78:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:83:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:93:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:96:  Is this a non-const reference? If so, make const or use a pointer: std::string& input_dt  [runtime/references] [2]
figure.h:98:  Static/global string variables are not permitted.  [runtime/string] [4]
figure.h:106:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:106:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:114:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:119:  Static/global string variables are not permitted.  [runtime/string] [4]
figure.h:126:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:126:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:129:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:129:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
Done processing figure.h
Total errors found: 31
0.286s 0.015s 9