Borderou de evaluare (job #2178229)
Utilizator | Data | 19 martie 2018 11:48:25 | |
---|---|---|---|
Problema | Iepuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:46: error: ‘Matrice Matrice::operator*(Matrice&, Matrice&)’ must take either zero or one argument
Matrice operator* (Matrice &a, Matrice &b) {
^
user.cpp: In member function ‘int Task::get_result()’:
user.cpp:67:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In member function ‘Matrice Task::powerMat(int, int, int, int)’:
user.cpp:86:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for (int i = 1; i <= x; i <<= 1) {
^
user.cpp:87:21: error: invalid operands of types ‘int’ and ‘int [100]’ to binary ‘operator&’
if (i & x) {
^
user.cpp:88:24: error: no match for ‘operator*’ (operand types are ‘Matrice’ and ‘Matrice’)
I = (I * Base) % kMod;
^
user.cpp:90:13: error: ‘base’ was not declared in this scope
base = (Base * Base) % kMod;
^
user.cpp:90:26: error: no match for ‘operator*’ (operand types are ‘Matrice’ and ‘Matrice’)
base = (Base * Base) % kMod;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !