ID 5577238
Пользователь Шашков Дмитрий Эдуардович
Время 30.10.2021 23:35 (10 д. 21:35) 31.10.2021 12:11>>
Обработка 23:35 ... 23:35 (3,24 сек.)
Файл 5577238.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:14:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
figure.h:17:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:26:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:29:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:47:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:50:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:67:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:70:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:94:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:94:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:99:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:99:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:118:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:118:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:119:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
Done processing figure.h
Total errors found: 15
0.041s 0.009s 9