ID 5788029
User Кузьмин Захар Данилович
Time 23:11<< 16.11.2021 23:12 (27 d. 21:13) 23:13>>
Processing 23:12 ... 23:12 (1,56 sec.)
File 5788029.cpp (CLang++ 5.0.0 + Address Sanitizer)
Contest 2 курс. Программирование на C++. Турнир 2, осень 2021
Problem C: Smart Pointer
Testset
Limits Time: 25s Memory: 512Mb
Status  [?]
LI Source check error
source | results
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
0.046s 0.012s 9