ID 5410935
Пользователь Морозов Игнат Владимирович
Время 00:28<< 27.09.2021 00:31 (11 д. 15:05) 00:35>>
Обработка 00:31 ... 00:31 (3,66 сек.)
Файл 5410935.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача E: Date
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
date.h:4:  private: should be indented +1 space inside class Date  [whitespace/indent] [3]
date.h:14:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
date.h:14:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
date.h:18:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
date.h:18:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
date.h:22:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
date.h:22:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
date.h:40:  public: should be indented +1 space inside class Date  [whitespace/indent] [3]
date.h:40:  "public:" should be preceded by a blank line  [whitespace/blank_line] [3]
date.h:52:  You don't need a ; after a }  [readability/braces] [4]
date.h:51:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
date.h:57:  You don't need a ; after a }  [readability/braces] [4]
date.h:84:  You don't need a ; after a }  [readability/braces] [4]
date.h:75:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
date.h:75:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]
date.h:85:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
date.h:85:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
Done processing date.h
Total errors found: 17
[печатать | |
]
(2 620 b)
0.045s 0.011s 10