ID 5481868
Пользователь Кузьмин Павел Владимирович
Время 13.10.2021 22:14 (28 д. 12:48) 22:21>>
Обработка 22:14 ... 22:14 (3,25 сек.)
Файл 5481868.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача E: Date
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
LI Ошибка проверки исходного кода
код | результаты
date.h:7:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:8:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:8:  Is this a non-const reference? If so, make const or use a pointer: int& y  [runtime/references] [2]
date.h:8:  Is this a non-const reference? If so, make const or use a pointer: int& m  [runtime/references] [2]
date.h:8:  Is this a non-const reference? If so, make const or use a pointer: int& d  [runtime/references] [2]
date.h:20:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
date.h:21:  Lines should be <= 80 characters long  [whitespace/line_length] [2]
date.h:22:  Missing space before ( in if(  [whitespace/parens] [5]
date.h:24:  Missing space before ( in if(  [whitespace/parens] [5]
date.h:26:  Missing space before ( in if(  [whitespace/parens] [5]
date.h:35:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:44:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:45:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:51:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:55:  You don't need a ; after a }  [readability/braces] [4]
date.h:56:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:59:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:61:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:67:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:67:  Is this a non-const reference? If so, make const or use a pointer: int& y  [runtime/references] [2]
date.h:67:  Is this a non-const reference? If so, make const or use a pointer: int& m  [runtime/references] [2]
date.h:67:  Is this a non-const reference? If so, make const or use a pointer: int& d  [runtime/references] [2]
date.h:68:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:70:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:71:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:72:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:73:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]
date.h:74:  Using deprecated casting style.  Use static_cast<int>(...) instead  [readability/casting] [4]
date.h:75:  Using deprecated casting style.  Use static_cast<int>(...) instead  [readability/casting] [4]
date.h:76:  Using deprecated casting style.  Use static_cast<int>(...) instead  [readability/casting] [4]
date.h:19:  Add #include <string> for string  [build/include_what_you_use] [4]
Done processing date.h
Total errors found: 31
[печатать | |
]
(2 051 b)
0.127s 0.009s 10