ID 5788097
User Кузьмин Захар Данилович
Time 23:16<< 16.11.2021 23:20 (27天 21:20) 23:20>>
Processing 23:20 ... 23:20 (2,84 秒)
File 5788097.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:12:  Closing brace should be aligned with beginning of class exception  [whitespace/indent] [3]
SmartPointer.hpp:15:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:19:  public: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:31:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:56:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:59:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:59:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:59:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:76:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:89:  Missing space before {  [whitespace/braces] [5]
SmartPointer.hpp:102:  Missing space before ( in if(  [whitespace/parens] [5]
SmartPointer.hpp:139:  private: should be indented +1 space inside class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:141:  public: should be indented +1 space inside class Core  [whitespace/indent] [3]
SmartPointer.hpp:150:  Closing brace should be aligned with beginning of class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:151:  Namespace should be terminated with "// namespace smart_pointer"  [readability/namespace] [5]
SmartPointer.hpp:151:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]
Done processing SmartPointer.hpp
Total errors found: 16
[打印 | |
]
(4 477 b)
0.070s 0.010s 10