входкурсы / турнирызадачиучастникиконсольмодуликомпиляторыключевые словарезультаты | ru en cn |
ID | 5512094 | ||
---|---|---|---|
Пользователь | Агличеев Александр Олегович | ||
Время | 14:56<< 21.10.2021 14:57 (1 д. 12:57) 14:58>> | ||
Обработка | 14:57 ... 14:57 (3,55 сек.) | ||
Файл | 5512094.cpp (CLang++ 5.0.0 + Address Sanitizer) | ||
Турнир | 2 курс. Программирование на C++. Турнир 2, осень 2021 | ||
Задача | D: FixedAllocator | ||
Набор тестов | |||
Ограничения | Время: 2с Память: 128Мб | ||
Состояние [?] |
|
||
код | результаты |
In file included from main.cpp:28:0: fixed_allocator.h: In instantiation of 'Tp* FixedAllocator<Tp>::Allocate() [with Tp = int]': main.cpp:45:30: required from here fixed_allocator.h:22:25: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (page_size.first < page_size_ - 1) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fixed_allocator.h: In instantiation of 'Tp* FixedAllocator<Tp>::Allocate() [with Tp = std::__cxx11::basic_string<char>]': main.cpp:57:24: required from here fixed_allocator.h:22:25: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] fixed_allocator.h: In instantiation of 'Tp* FixedAllocator<Tp>::Allocate() [with Tp = char]': main.cpp:119:40: required from here fixed_allocator.h:22:25: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] cc1plus: all warnings being treated as errors |
||
|
||
Файлы на сервере и клиенте не совпали
(1 199 b)
|