ID 5731908
Пользователь Павлюк Роман Сергеевич
Время 11.11.2021 18:13 (22 д. 16:13) 18:17>>
Обработка 18:13 ... 18:13 (3,93 сек.)
Файл 5731908.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача F: Code format visitor
Набор тестов
Ограничения Время: 1с Память: 4000Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
format_visitor.h:5:  public: should be indented +1 space inside class FormatVisitor  [whitespace/indent] [3]
format_visitor.h:13:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
format_visitor.h:14:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:17:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:18:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
format_visitor.h:26:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:29:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:30:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
format_visitor.h:39:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:42:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
format_visitor.h:43:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
format_visitor.h:64:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
format_visitor.h:73:  You don't need a ; after a }  [readability/braces] [4]
format_visitor.h:74:  private: should be indented +1 space inside class FormatVisitor  [whitespace/indent] [3]
format_visitor.h:74:  "private:" should be preceded by a blank line  [whitespace/blank_line] [3]
format_visitor.h:76:  Add #include <string> for string  [build/include_what_you_use] [4]
format_visitor.h:76:  Add #include <vector> for vector<>  [build/include_what_you_use] [4]
Done processing format_visitor.h
Total errors found: 17
0.049s 0.008s 9