ID 5785672
Пользователь Кустов Юрий Сергеевич
Время 16.11.2021 16:34 (27 д. 14:34) 16:35>>
Обработка 16:34 ... 16:34 (3,26 сек.)
Файл 5785672.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача A: Набор фигур
Набор тестов
Ограничения Время: 1с Память: 4096Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
figure.h:5:  public: should be indented +1 space inside class Figure  [whitespace/indent] [3]
figure.h:6:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:7:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:8:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:12:  public: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:13:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:15:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:16:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:17:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:19:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:20:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:21:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:23:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:24:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:25:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:27:  private: should be indented +1 space inside class Rect  [whitespace/indent] [3]
figure.h:28:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:33:  public: should be indented +1 space inside class Treangle  [whitespace/indent] [3]
figure.h:34:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:36:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:37:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:38:  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: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:49:  private: should be indented +1 space inside class Treangle  [whitespace/indent] [3]
figure.h:50:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:55:  public: should be indented +1 space inside class Circle  [whitespace/indent] [3]
figure.h:56:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:56:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
figure.h:58:  Tab found; better to use spaces  [whitespace/tab] [1]
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:62:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:63:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:64:  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:70:  private: should be indented +1 space inside class Circle  [whitespace/indent] [3]
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:77:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:78:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:79:  Tab found; better to use spaces  [whitespace/tab] [1]
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:84:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:85:  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:88:  Missing space before {  [whitespace/braces] [5]
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:93:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:94:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:96:  Tab found; better to use spaces  [whitespace/tab] [1]
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:97:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:98:  Tab found; better to use spaces  [whitespace/tab] [1]
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:101:  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:105:  Missing space before {  [whitespace/braces] [5]
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:110:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:111:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:113:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:113:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
figure.h:113:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
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:117:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:118:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:118:  Missing space before {  [whitespace/braces] [5]
figure.h:119:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:120:  Tab found; better to use spaces  [whitespace/tab] [1]
figure.h:121:  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:77:  Add #include <string> for string  [build/include_what_you_use] [4]
figure.h:119:  Add #include <memory> for shared_ptr<>  [build/include_what_you_use] [4]
figure.h:125:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 95
[печатать | |
]
(2 014 b)
0.053s 0.016s 10