ID 5481439
Пользователь Юрочкин Руслан Викторович
Время 13.10.2021 21:04 (4 д. 22:05) 21:08>>
Обработка 21:04 ... 21:04 (3,43 сек.)
Файл prime_gen.h (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача D: PrimeNumberGenerator
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
prime_gen.h:7:  public: should be indented +1 space inside class PrimeNumberGenerator  [whitespace/indent] [3]
prime_gen.h:13:  You don't need a ; after a }  [readability/braces] [4]
prime_gen.h:8:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
prime_gen.h:13:  Tab found; better to use spaces  [whitespace/tab] [1]
prime_gen.h:29:  You don't need a ; after a }  [readability/braces] [4]
prime_gen.h:16:  Use operator || instead of or  [readability/alt_tokens] [2]
prime_gen.h:19:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
prime_gen.h:19:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
prime_gen.h:19:  Use operator || instead of or  [readability/alt_tokens] [2]
prime_gen.h:19:  Use operator || instead of or  [readability/alt_tokens] [2]
prime_gen.h:31:  Tab found; better to use spaces  [whitespace/tab] [1]
prime_gen.h:42:  You don't need a ; after a }  [readability/braces] [4]
prime_gen.h:40:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
prime_gen.h:42:  Tab found; better to use spaces  [whitespace/tab] [1]
prime_gen.h:44:  Tab found; better to use spaces  [whitespace/tab] [1]
Done processing prime_gen.h
Total errors found: 15
[печатать | |
]
(900 b)
0.036s 0.008s 10