Borderou de evaluare (job #1557907)
Utilizator | Data | 28 decembrie 2015 14:09:16 | |
---|---|---|---|
Problema | Iepuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:15: error: expected initializer before numeric constant
const int MOD 666013;
^
user.cpp: In member function ‘void Matrix::MatrixSquare()’:
user.cpp:27:28: error: ‘MOD’ was not declared in this scope
ll t11 = (m11*m11)%MOD + (m12*m21)%MOD + (m13*m31)%MOD;
^
user.cpp: In member function ‘void Matrix::MatrixMult(Matrix&)’:
user.cpp:65:19: error: ‘MOD’ was not declared in this scope
m11 = t11%MOD;
^
user.cpp: In function ‘int Iepuri(int, int, int, int, int, int, int)’:
user.cpp:87:26: error: ‘MOD’ was not declared in this scope
return (m.m31*X)%MOD + (m.m32*Y)%MOD + (m.m33*Z)%MOD;
^
user.cpp: In function ‘int main()’:
user.cpp:124:44: error: ‘MOD’ was not declared in this scope
g << (Iepuri(A, B, C, X, Y, Z, N))%MOD << endl;
^
user.cpp: In function ‘int Iepuri(int, int, int, int, int, int, int)’:
user.cpp:95:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !