ID 5588739
Пользователь Корягин Роман Сергеевич
Время 31.10.2021 16:50 (11 д. 14:51) 16:52>>
Обработка 16:50 ... 16:50 (2,63 сек.)
Файл 5588739.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:19:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
figure.h:22:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:23:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:23:  You don't need a ; after a }  [readability/braces] [4]
figure.h:24:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:24:  You don't need a ; after a }  [readability/braces] [4]
figure.h:25:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:25:  You don't need a ; after a }  [readability/braces] [4]
figure.h:30:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:30:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:31:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:32:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:33:  private: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:33:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:34:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:35:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:36:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:38:  public: should be indented +1 space inside class Triangle  [whitespace/indent] [3]
figure.h:39:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:40:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:41:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:42:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:43:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:44:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:45:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:46:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:47:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:48:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:50:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:54:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
figure.h:55:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:56:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:57:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:58:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:59:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:60:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:63:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:64:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:65:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:66:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:67:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:68:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:69:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:70:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:71:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:72:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:76:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:76:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:77:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:77:  Missing space before {  [whitespace/braces] [5]
figure.h:77:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:78:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:80:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:81:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:82:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:83:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:85:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:86:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:87:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:88:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:89:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:90:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:91:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:92:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:93:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:94:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:95:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:98:  Is this a non-const reference? If so, make const or use a pointer: std::string& input_dt  [runtime/references] [2]
figure.h:99:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:100:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:102:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:104:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:105:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:106:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:107:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:108:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:108:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:108:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:109:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:110:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:111:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:112:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:114:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:115:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:116:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
figure.h:121:  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:124:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
figure.h:125:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:126:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:127:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:128:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:128:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:128:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:129:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:130:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:131:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:131:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:131:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
figure.h:132:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
figure.h:133:  Tab found; better to use spaces  [whitespace/tab] [1]
Done processing figure.h
Total errors found: 104
[печатать | |
]
(2 442 b)
0.165s 0.019s 10