ID 5786014
Пользователь Far Eastern FU: CODE Fathers
Время 16.11.2021 18:40 (27 д. 16:41) 18:47>>
Обработка 18:40 ... 18:40 (2,73 сек.)
Файл GameDatabase.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача E: GameDatabase
Набор тестов
Ограничения Время: 1с Память: 4000Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
game_database.h:1:  Should have a space between // and comment  [whitespace/comments] [4]
game_database.h:10:  Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces] [5]
game_database.h:12:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
game_database.h:27:  public: should be indented +1 space inside class DereferenceCompare  [whitespace/indent] [3]
game_database.h:34:  public: should be indented +1 space inside class GameDatabase  [whitespace/indent] [3]
game_database.h:50:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
game_database.h:60:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
game_database.h:70:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]
game_database.h:77:  private: should be indented +1 space inside class GameDatabase  [whitespace/indent] [3]
game_database.h:79:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
game_database.h:80:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
game_database.h:78:  Add #include <functional> for greater<>  [build/include_what_you_use] [4]
Done processing game_database.h
Total errors found: 12
[печатать | |
]
(2 166 b)
0.042s 0.008s 10