ID 5786109
Пользователь Орлов Андрей Сергеевич
Время 16.11.2021 19:01 (27 д. 17:01) 19:02>>
Обработка 19:01 ... 19:01 (2,59 сек.)
Файл 5786109.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача D: FixedAllocator
Набор тестов
Ограничения Время: 2с Память: 128Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
fixed_allocator.h:2:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:2:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:6:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:6:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:7:  public: should be indented +1 space inside class FixedAllocator  [whitespace/indent] [3]
fixed_allocator.h:8:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
fixed_allocator.h:8:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
fixed_allocator.h:9:  You don't need a ; after a }  [readability/braces] [4]
fixed_allocator.h:10:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:10:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:21:  You don't need a ; after a }  [readability/braces] [4]
fixed_allocator.h:22:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:22:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:25:  You don't need a ; after a }  [readability/braces] [4]
fixed_allocator.h:26:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:26:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:30:  private: should be indented +1 space inside class FixedAllocator  [whitespace/indent] [3]
fixed_allocator.h:30:  "private:" should be preceded by a blank line  [whitespace/blank_line] [3]
fixed_allocator.h:34:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]
fixed_allocator.h:34:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
fixed_allocator.h:32:  Add #include <vector> for vector<>  [build/include_what_you_use] [4]
fixed_allocator.h:34:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing fixed_allocator.h
Total errors found: 22
[печатать | |
]
(874 b)
0.087s 0.009s 10