ID 5473434
Пользователь Соболев Артём Андреевич
Время 21:55<< 11.10.2021 21:56 (26 д. 12:30) 21:59>>
Обработка 21:56 ... 21:56 (4,84 сек.)
Файл 5473434.cpp (CLang++ 5.0.0 + Address Sanitizer)
Турнир 2 курс. Программирование на C++. Турнир 1, осень 2021
Задача B: Finite Field (Hard version)
Набор тестов
Ограничения Время: 5с Память: 512Мб
Состояние  [?]
CE Ошибка компиляции
код | результаты
In file included from main.cpp:8:0:
num.cpp: In member function 'Num& Num::operator=(const Num&)':
num.cpp:7:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator+(const Num&)':
num.cpp:12:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator-(const Num&)':
num.cpp:17:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator*(const Num&)':
num.cpp:22:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator+(int)':
num.cpp:27:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator-(int)':
num.cpp:32:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
num.cpp: In member function 'Num Num::operator*(int)':
num.cpp:37:11: error: statement has no effect [-Werror=unused-value]
     this->value;
     ~~~~~~^~~~~
cc1plus: all warnings being treated as errors
[печатать | |
]
(1 195 b)
0.145s 0.017s 10