ID 5788029
Пользователь Кузьмин Захар Данилович
Время 23:11<< 16.11.2021 23:12 (27 д. 21:13) 23:13>>
Обработка 23:12 ... 23:12 (1,56 сек.)
Файл 5788029.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:14:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:18:  public: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:30:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:55:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:58:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:58:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:58:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:75:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:88:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:101:  Missing space before ( in if(  [whitespace/parens] [5]
SmartPointer.hpp:138:  private: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:140:  public: should be indented +1 space inside class Core  [whitespace/indent] [3]
SmartPointer.hpp:150:  Namespace should be terminated with "// namespace smart_pointer"  [readability/namespace] [5]
SmartPointer.hpp:150:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing SmartPointer.hpp
Total errors found: 15
[печатать | |
]
(4 452 b)
0.135s 0.046s 10