Borderou de evaluare (job #2636423)

Utilizator luciocfLucio Cardoso Dias de Figueiredo Filho luciocf Data 17 iulie 2020 23:16:46
Problema Perioada Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
116ms4980kbIncorect00
219ms4980kbIncorect0
322ms4980kbIncorect00
423ms4980kbIncorect0
534ms5111kbIncorect00
635ms5111kbIncorect0
7231ms6684kbIncorect00
8243ms6684kbIncorect0
9845ms12410kbIncorect00
10966ms12541kbIncorect0
111500ms16343kbTime limit exceeded00
121485ms16474kbIncorect0
131500ms20373kbTime limit exceeded00
141500ms20303kbTime limit exceeded0
151500ms22269kbTime limit exceeded00
161503ms22269kbTime limit exceeded0
171503ms24367kbTime limit exceeded00
181500ms24367kbTime limit exceeded0
191502ms24367kbTime limit exceeded00
201500ms24367kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?