ID 5793726
Пользователь Бурачинский Александр Дмитриевич
Время 20:46<< 18.11.2021 20:46 (23:02) 20:47>>
Обработка 20:46 ... 20:46 (2,76 сек.)
Файл 5793726.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача F: BufferedReader
Набор тестов
Ограничения Время: 1с Память: 512Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:35:0:
buffered_reader.h: In member function 'int32_t BufferedReader::Read(char*, int32_t)':
buffered_reader.h:24:51: error: unused variable 'res' [-Werror=unused-variable]
     int count = bytes / d->PackageLen(), len = 0, res;
                                                   ^~~
buffered_reader.h:38:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors
0.082s 0.025s 9