ID 5508658
Пользователь Скопин Семён Андреевич
Время 20.10.2021 12:45 (10:45) 12:59>>
Обработка 12:45 ... 12:45 (3,61 сек.)
Файл main.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:8:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
figure.h:11:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:12:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:13:  Missing space before {  [whitespace/braces] [5]
figure.h:19:  private: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:20:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:20:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
figure.h:24:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:26:  Missing space before {  [whitespace/braces] [5]
figure.h:41:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:46:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:48:  Missing space after ,  [whitespace/comma] [3]
figure.h:48:  Missing space before {  [whitespace/braces] [5]
figure.h:62:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:67:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:68:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:69:  Missing space before {  [whitespace/braces] [5]
figure.h:83:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:111:  Add #include <string> for string  [build/include_what_you_use] [4]
figure.h:126:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 20
[печатать | |
]
(2 711 b)
0.043s 0.009s 10