Borderou de evaluare (job #1025339)

Utilizator freak93Adrian Budau freak93 Data 9 noiembrie 2013 20:14:20
Problema Calcul Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In member function ‘Matrix Matrix::operator*(const Matrix&) const’: user.cpp:16:55: warning: narrowing conversion of ‘(((((long long int)((const Matrix*)this)->Matrix::a) * ((long long int)that.Matrix::a)) + (((long long int)((const Matrix*)this)->Matrix::b) * ((long long int)that.Matrix::c))) % 1000000000ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing] return {(1LL * a * that.a + 1LL * b * that.c) % kModulo, (1LL * a * that.b + 1LL * b * that.d) % kModulo, ^ user.cpp:16:104: warning: narrowing conversion of ‘(((((long long int)((const Matrix*)this)->Matrix::a) * ((long long int)that.Matrix::b)) + (((long long int)((const Matrix*)this)->Matrix::b) * ((long long int)that.Matrix::d))) % 1000000000ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing] return {(1LL * a * that.a + 1LL * b * that.c) % kModulo, (1LL * a * that.b + 1LL * b * that.d) % kModulo, ^ user.cpp:17:55: warning: narrowing conversion of ‘(((((long long int)((const Matrix*)this)->Matrix::c) * ((long long int)that.Matrix::a)) + (((long long int)((const Matrix*)this)->Matrix::d) * ((long long int)that.Matrix::c))) % 1000000000ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing] (1LL * c * that.a + 1LL * d * that.c) % kModulo, (1LL * c * that.b + 1LL * d * that.d) % kModulo}; ^ user.cpp:17:104: warning: narrowing conversion of ‘(((((long long int)((const Matrix*)this)->Matrix::c) * ((long long int)that.Matrix::b)) + (((long long int)((const Matrix*)this)->Matrix::d) * ((long long int)that.Matrix::d))) % 1000000000ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing] (1LL * c * that.a + 1LL * d * that.c) % kModulo, (1LL * c * that.b + 1LL * d * that.d) % kModulo}; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbIncorect0
20ms420kbIncorect0
30ms420kbIncorect0
40ms420kbIncorect0
54ms428kbIncorect0
60ms420kbIncorect0
74ms452kbIncorect0
84ms428kbIncorect0
94ms628kbIncorect0
104ms548kbIncorect0
114ms436kbIncorect0
124ms424kbOK5
134ms628kbIncorect0
148ms564kbIncorect0
158ms444kbIncorect0
168ms512kbIncorect0
1712ms532kbIncorect0
1816ms544kbIncorect0
1924ms632kbIncorect0
2024ms632kbIncorect0
Punctaj total5

Ceva nu functioneaza?