ID 5785732
Пользователь Кустов Юрий Сергеевич
Время 16:35<< 16.11.2021 16:49 (27 д. 14:50) 16:54>>
Обработка 16:49 ... 16:49 (2,31 сек.)
Файл 5785732.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:4:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:6:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:11:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:26:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:32:  public: should be indented +1 space inside class Treangle  [whitespace/indent] [3]
figure.h:48:  private: should be indented +1 space inside class Treangle  [whitespace/indent] [3]
figure.h:54:  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:69:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:95:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:95:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:105:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
figure.h:112:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:112:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:113:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:114:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:116:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:117:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:117:  Missing space before {  [whitespace/braces] [5]
figure.h:118:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:119:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:120:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:122:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:123:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:124:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:76:  Add #include <string> for string  [build/include_what_you_use] [4]
figure.h:118:  Add #include <memory> for shared_ptr<>  [build/include_what_you_use] [4]
figure.h:124:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 28
0.049s 0.010s 9