ID 5639319
Пользователь Орлов Андрей Сергеевич
Время 20:56<< 02.11.2021 20:56 (13 д. 18:57) 20:59>>
Обработка 20:56 ... 20:57 (8,15 сек.)
Файл 5639319.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:8:  Should have a space between // and comment  [whitespace/comments] [4]
figure.h:12:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:20:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:25:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:26:  Missing space before {  [whitespace/braces] [5]
figure.h:29:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
figure.h:44:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:49:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:50:  Missing space before {  [whitespace/braces] [5]
figure.h:67:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:72:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:73:  Missing space before {  [whitespace/braces] [5]
figure.h:89:  Missing space before {  [whitespace/braces] [5]
figure.h:94:  Missing space before {  [whitespace/braces] [5]
figure.h:98:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:98:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:98:  Missing space before {  [whitespace/braces] [5]
figure.h:102:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:102:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:102:  Missing space before {  [whitespace/braces] [5]
figure.h:90:  Add #include <string> for string  [build/include_what_you_use] [4]
figure.h:104:  Add #include <memory> for shared_ptr<>  [build/include_what_you_use] [4]
figure.h:107:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 23
[печатать | |
]
(2 620 b)
0.077s 0.008s 10