ID 5589015
Пользователь Корягин Роман Сергеевич
Время 16:55<< 31.10.2021 16:59 (11 д. 14:59) 17:02>>
Обработка 16:59 ... 17:06 (465,36 сек.)
Файл 5589015.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:20:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:21:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:22:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:23:  You don't need a ; after a }  [readability/braces] [4]
figure.h:24:  You don't need a ; after a }  [readability/braces] [4]
figure.h:25:  You don't need a ; after a }  [readability/braces] [4]
figure.h:30:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:31:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:32:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:35:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:35:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:35:  "private:" should be preceded by a blank line  [whitespace/blank_line] [3]
figure.h:36:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
figure.h:41:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:42:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:54:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:58:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:59:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:60:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:64:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:65:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
figure.h:70:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:71:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:84:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:84:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:85:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:86:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:87:  Missing space before {  [whitespace/braces] [5]
figure.h:90:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:91:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
figure.h:96:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:97:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
figure.h:107:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:110:  Is this a non-const reference? If so, make const or use a pointer: std::string& input_dt  [runtime/references] [2]
figure.h:112:  Static/global string variables are not permitted.  [runtime/string] [4]
figure.h:127:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:132:  Static/global string variables are not permitted.  [runtime/string] [4]
Done processing figure.h
Total errors found: 37
0.094s 0.011s 9