ID 5453922
Пользователь Росляков Владимир Олегович
Время 17:16<< 07.10.2021 17:16 (22 д. 07:49) 17:21>>
Обработка 17:16 ... 17:16 (13,25 сек.)
Файл 5453922.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача C: Set
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
set.h:7:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
set.h:8:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:15:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:20:  Else clause should be indented at the same level as if. Ambiguous nested if/else chains require braces.  [readability/braces] [4]
set.h:22:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:24:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:27:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:34:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:38:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
set.h:39:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:39:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
set.h:56:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
set.h:70:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
set.h:74:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:86:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:87:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:88:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:109:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:109:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:117:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
set.h:124:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:124:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:124:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:136:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:136:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:136:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:144:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
Done processing set.h
Total errors found: 30
[печатать | |
]
(4 269 b)
0.054s 0.010s 10