ID 5787807
Пользователь Доманский Игорь Сергеевич
Время 22:38<< 16.11.2021 22:42 (27 д. 20:43) 22:46>>
Обработка 22:42 ... 22:42 (3,12 сек.)
Файл 5787807.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача C: Smart Pointer
Набор тестов
Ограничения Время: 25с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
SmartPointer.hpp:8:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:18:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:25:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:27:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:41:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:59:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:83:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:85:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:95:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:100:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:103:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
SmartPointer.hpp:107:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:113:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
SmartPointer.hpp:125:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
SmartPointer.hpp:132:  Using C-style cast.  Use reinterpret_cast<void*>(...) instead  [readability/casting] [4]
SmartPointer.hpp:139:  You don't need a ; after a }  [readability/braces] [4]
SmartPointer.hpp:138:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
SmartPointer.hpp:147:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
SmartPointer.hpp:160:  Closing brace should be aligned with beginning of class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:162:  Namespace should be terminated with "// namespace smart_pointer"  [readability/namespace] [5]
Done processing SmartPointer.hpp
Total errors found: 20
[печатать | |
]
(4 530 b)
0.048s 0.010s 10