Pagini recente » Borderou de evaluare (job #2622129) | Borderou de evaluare (job #3214763) | Borderou de evaluare (job #3233441) | Borderou de evaluare (job #920408) | Borderou de evaluare (job #2636423)
Borderou de evaluare (job #2636423)
Raport evaluator
Compilare:
main.cpp: In function 'int ok(int, int, int)':
main.cpp:29:65: warning: narrowing conversion of '(((1ll * ((long long int)(((h[0][r] - h[0][(l - 1)]) + m[0]) % m[0]))) * ((long long int)inv[0][(l - 1)])) % ((long long int)m[0]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int hsh[2] = {(1ll*((h[0][r]-h[0][l-1]+m[0])%m[0])*inv[0][l-1])%m[0], (1ll*((h[1][r]-h[1][l-1]+m[1])%m[1])*inv[1][l-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:29:121: warning: narrowing conversion of '(((1ll * ((long long int)(((h[1][r] - h[1][(l - 1)]) + m[1]) % m[1]))) * ((long long int)inv[1][(l - 1)])) % ((long long int)m[1]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int hsh[2] = {(1ll*((h[0][r]-h[0][l-1]+m[0])%m[0])*inv[0][l-1])%m[0], (1ll*((h[1][r]-h[1][l-1]+m[1])%m[1])*inv[1][l-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:31:67: warning: narrowing conversion of '(((1ll * ((long long int)(((h[0][((l + d) - 1)] - h[0][(l - 1)]) + m[0]) % m[0]))) * ((long long int)inv[0][(l - 1)])) % ((long long int)m[0]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int x[2] = {(1ll*((h[0][l+d-1]-h[0][l-1]+m[0])%m[0])*inv[0][l-1])%m[0], (1ll*((h[1][l+d-1]-h[1][l-1]+m[1])%m[1])*inv[1][l-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:31:127: warning: narrowing conversion of '(((1ll * ((long long int)(((h[1][((l + d) - 1)] - h[1][(l - 1)]) + m[1]) % m[1]))) * ((long long int)inv[1][(l - 1)])) % ((long long int)m[1]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int x[2] = {(1ll*((h[0][l+d-1]-h[0][l-1]+m[0])%m[0])*inv[0][l-1])%m[0], (1ll*((h[1][l+d-1]-h[1][l-1]+m[1])%m[1])*inv[1][l-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:33:42: warning: narrowing conversion of '(((1ll * ((long long int)x[0])) * ((long long int)soma[0][d].std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)((n / d) - 1))))) % ((long long int)m[0]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int S[2] = {(1ll*x[0]*soma[0][d][n/d-1])%m[0], (1ll*x[1]*soma[1][d][n/d-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:33:77: warning: narrowing conversion of '(((1ll * ((long long int)x[1])) * ((long long int)soma[1][d].std::vector<_Tp, _Alloc>::operator[]<int, std::allocator<int> >(((std::vector<int>::size_type)((n / d) - 1))))) % ((long long int)m[1]))' from 'long long int' to 'int' inside { } [-Wnarrowing]
int S[2] = {(1ll*x[0]*soma[0][d][n/d-1])%m[0], (1ll*x[1]*soma[1][d][n/d-1])%m[1]};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:40:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada.in", "r", stdin); freopen("perioada.out", "w", stdout);
^
main.cpp:40:74: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada.in", "r", stdin); freopen("perioada.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 4980kb | Incorect | 0 | 0 |
2 | 19ms | 4980kb | Incorect | 0 |
3 | 22ms | 4980kb | Incorect | 0 | 0 |
4 | 23ms | 4980kb | Incorect | 0 |
5 | 34ms | 5111kb | Incorect | 0 | 0 |
6 | 35ms | 5111kb | Incorect | 0 |
7 | 231ms | 6684kb | Incorect | 0 | 0 |
8 | 243ms | 6684kb | Incorect | 0 |
9 | 845ms | 12410kb | Incorect | 0 | 0 |
10 | 966ms | 12541kb | Incorect | 0 |
11 | 1500ms | 16343kb | Time limit exceeded | 0 | 0 |
12 | 1485ms | 16474kb | Incorect | 0 |
13 | 1500ms | 20373kb | Time limit exceeded | 0 | 0 |
14 | 1500ms | 20303kb | Time limit exceeded | 0 |
15 | 1500ms | 22269kb | Time limit exceeded | 0 | 0 |
16 | 1503ms | 22269kb | Time limit exceeded | 0 |
17 | 1503ms | 24367kb | Time limit exceeded | 0 | 0 |
18 | 1500ms | 24367kb | Time limit exceeded | 0 |
19 | 1502ms | 24367kb | Time limit exceeded | 0 | 0 |
20 | 1500ms | 24367kb | Time limit exceeded | 0 |
Punctaj total | 0 |