Pagini recente » Borderou de evaluare (job #1853258) | Borderou de evaluare (job #1232956) | Borderou de evaluare (job #2081029) | Borderou de evaluare (job #212732) | Borderou de evaluare (job #2107341)
Borderou de evaluare (job #2107341)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Matrix::operator*=(Matrix&)’:
user.cpp:11:66: warning: narrowing conversion of ‘(((((long long int)((Matrix*)this)->Matrix::a11) * ((long long int)other.Matrix::a11)) + (((long long int)((Matrix*)this)->Matrix::a12) * ((long long int)other.Matrix::a21))) % 666013ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
*this = {(1LL * a11 * other.a11 + 1LL * a12 * other.a21) % 666013,
^
user.cpp:12:66: warning: narrowing conversion of ‘(((((long long int)((Matrix*)this)->Matrix::a11) * ((long long int)other.Matrix::a12)) + (((long long int)((Matrix*)this)->Matrix::a12) * ((long long int)other.Matrix::a22))) % 666013ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
(1LL * a11 * other.a12 + 1LL * a12 * other.a22) % 666013,
^
user.cpp:13:66: warning: narrowing conversion of ‘(((((long long int)((Matrix*)this)->Matrix::a21) * ((long long int)other.Matrix::a11)) + (((long long int)((Matrix*)this)->Matrix::a22) * ((long long int)other.Matrix::a21))) % 666013ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
(1LL * a21 * other.a11 + 1LL * a22 * other.a21) % 666013,
^
user.cpp:14:66: warning: narrowing conversion of ‘(((((long long int)((Matrix*)this)->Matrix::a21) * ((long long int)other.Matrix::a12)) + (((long long int)((Matrix*)this)->Matrix::a22) * ((long long int)other.Matrix::a22))) % 666013ll)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
(1LL * a21 * other.a12 + 1LL * a22 * other.a22) % 666013};
^
user.cpp: In function ‘int main()’:
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.in", "r", stdin);
^
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.out", "w", stdout);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 5 |
2 | 0ms | 436kb | OK | 5 |
3 | 0ms | 436kb | OK | 5 |
4 | 0ms | 436kb | OK | 5 |
5 | 0ms | 440kb | OK | 5 |
6 | 0ms | 432kb | OK | 5 |
7 | 0ms | 440kb | OK | 5 |
8 | 0ms | 432kb | OK | 5 |
9 | 0ms | 436kb | OK | 5 |
10 | 0ms | 436kb | OK | 5 |
11 | 0ms | 436kb | OK | 5 |
12 | 0ms | 436kb | OK | 5 |
13 | 0ms | 436kb | OK | 5 |
14 | 0ms | 440kb | OK | 5 |
15 | 0ms | 436kb | OK | 5 |
16 | 0ms | 436kb | OK | 5 |
17 | 0ms | 432kb | OK | 5 |
18 | 0ms | 432kb | OK | 5 |
19 | 0ms | 432kb | OK | 5 |
20 | 0ms | 436kb | OK | 5 |
Punctaj total | 100 |