ID 5788410
Пользователь Матвеев Ян Альбертович
Время 23:51<< 16.11.2021 23:51 (27 д. 21:52) 23:52>>
Обработка 23:51 ... 23:51 (2,31 сек.)
Файл 5788410.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:21:  public: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:21:  "public:" should be preceded by a blank line  [whitespace/blank_line] [3]
SmartPointer.hpp:62:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:62:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:73:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:73:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:85:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:85:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:105:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:105:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:115:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:115:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:126:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
SmartPointer.hpp:142:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:142:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:147:  private: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:149:  public: should be indented +1 space inside class Core  [whitespace/indent] [3]
SmartPointer.hpp:161:  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: 22
0.038s 0.009s 9