ID 5786760
Пользователь Бурачинский Александр Дмитриевич
Время 20:06<< 16.11.2021 20:07 (27 д. 18:07) 20:14>>
Обработка 20:07 ... 20:07 (2,59 сек.)
Файл 5786760.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 2, осень 2021
Задача F: Code format visitor
Набор тестов
Ограничения Время: 1с Память: 4000Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:121:0:
format_visitor.h: In member function 'virtual void FormatVisitor::Visit(const ClassDeclarationNode*)':
format_visitor.h:42:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
              for (int i = 0; i < len; ++i) {
                              ~~^~~~~
format_visitor.h:58:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
              for (int i = 0; i < len; ++i) {
                              ~~^~~~~
format_visitor.h:74:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
              for (int i = 0; i < len; ++i) {
                              ~~^~~~~
format_visitor.h: In member function 'virtual void FormatVisitor::Visit(const MethodDeclarationNode*)':
format_visitor.h:94:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
              for (int i = 0; i < arguments_length - 1; ++i) {
                              ~~^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[печатать | |
]
(3 166 b)
0.065s 0.010s 10