ID 5403748
Пользователь Стрелов Глеб Сергеевич
Время 10:48<< 22.09.2021 10:54 (7 д. 01:27) 20:02>>
Обработка 10:54 ... 10:54 (2,03 сек.)
Файл num.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:19:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value + (__int64) other.value;
     ^~~~~~~
num.cpp:19:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value + (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:20:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:20:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num& Num::operator-=(const Num&)':
num.cpp:26:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value - (__int64) other.value;
     ^~~~~~~
num.cpp:26:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value - (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:27:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:27:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num& Num::operator*=(const Num&)':
num.cpp:36:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value * (__int64) other.value;
     ^~~~~~~
num.cpp:36:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value * (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:37:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:37:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num& Num::operator+=(int)':
num.cpp:43:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value + (__int64) num;
     ^~~~~~~
num.cpp:43:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value + (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:44:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:44:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num& Num::operator-=(int)':
num.cpp:53:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value - (__int64) num;
     ^~~~~~~
num.cpp:53:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value - (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:54:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:54:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num& Num::operator*=(int)':
num.cpp:63:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value * (__int64) num;
     ^~~~~~~
num.cpp:63:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value * (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:64:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:64:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator+(const Num&)':
num.cpp:73:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value + (__int64) other.value;
     ^~~~~~~
num.cpp:73:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value + (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:74:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:74:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator-(const Num&)':
num.cpp:80:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value - (__int64) other.value;
     ^~~~~~~
num.cpp:80:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value - (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:81:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:81:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator*(const Num&)':
num.cpp:90:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value * (__int64) other.value;
     ^~~~~~~
num.cpp:90:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value * (__int64) other.value;
     ^~~~~~~
     __int64_t
num.cpp:91:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:91:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator+(int)':
num.cpp:100:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value + (__int64) num;
     ^~~~~~~
num.cpp:100:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value + (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:101:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:101:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator-(int)':
num.cpp:110:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value - (__int64) num;
     ^~~~~~~
num.cpp:110:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value - (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:111:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:111:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
num.cpp: In member function 'Num Num::operator*(int)':
num.cpp:120:5: error: '__int64' was not declared in this scope
     __int64 val = (__int64) this->value * (__int64) num;
     ^~~~~~~
num.cpp:120:5: note: suggested alternative: '__int64_t'
     __int64 val = (__int64) this->value * (__int64) num;
     ^~~~~~~
     __int64_t
num.cpp:121:5: error: 'val' was not declared in this scope
     val %= this->modulo;
     ^~~
num.cpp:121:5: note: suggested alternative: 'value'
     val %= this->modulo;
     ^~~
     value
[печатать | |
]
(3 299 b)
0.367s 0.009s 10