ID 5787082
Пользователь Thanks to the CWC partners from the GreenTeaNeko
Время 20:42<< 16.11.2021 20:43 (27 д. 18:44) 20:49>>
Обработка 20:43 ... 20:43 (1,48 сек.)
Файл 5787082.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:17:  Do not indent within a namespace  [runtime/indentation_namespace] [4]
SmartPointer.hpp:27:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:27:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:78:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:78:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:92:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:92:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:101:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:101:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:110:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:110:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:119:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:119:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:146:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
SmartPointer.hpp:146:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
SmartPointer.hpp:164:  Closing brace should be aligned with beginning of class SmartPointer  [whitespace/indent] [3]
SmartPointer.hpp:165:  Namespace should be terminated with "// namespace smart_pointer"  [readability/namespace] [5]
SmartPointer.hpp:165:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
Done processing SmartPointer.hpp
Total errors found: 19
[печатать | |
]
(4 630 b)
0.044s 0.009s 10