ID 5453907
Пользователь Росляков Владимир Олегович
Время 17:13<< 07.10.2021 17:14 (22 д. 07:47) 17:16>>
Обработка 17:14 ... 17:14 (12,63 сек.)
Файл 5453907.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача C: Set
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
set.h:5:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
set.h:9:  Do not leave a blank line after "private:"  [whitespace/blank_line] [3]
set.h:10:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:17:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:22:  Else clause should be indented at the same level as if. Ambiguous nested if/else chains require braces.  [readability/braces] [4]
set.h:24:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:26:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:29:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:36:  Else clause should never be on same line as else (use 2 lines)  [whitespace/newline] [4]
set.h:40:  Do not leave a blank line after "public:"  [whitespace/blank_line] [3]
set.h:41:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:41:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
set.h:58:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
set.h:72:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]
set.h:76:  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:89:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:90:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
set.h:111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:111:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:111:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:119:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
set.h:126:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:126:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:126:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
set.h:138:  Extra space before ( in function call  [whitespace/parens] [4]
set.h:138:  Use operator || instead of or  [readability/alt_tokens] [2]
set.h:146:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
Done processing set.h
Total errors found: 31
[печатать | |
]
(4 249 b)
0.064s 0.010s 10