ID 5746828
Пользователь Юрочкин Руслан Викторович
Время 00:56<< 13.11.2021 00:57 (23 д. 22:58) 01:02>>
Обработка 00:57 ... 00:57 (2,38 сек.)
Файл figure.h (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:5:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
figure.h:10:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:17:  public: 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:45:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:59:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:62:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [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]
figure.h:96:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:96:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:101:  Add #include <memory> for make_shared<>  [build/include_what_you_use] [4]
figure.h:103:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 13
[печатать | |
]
(1 780 b)
0.080s 0.012s 10