Borderou de evaluare (job #2436028)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 iulie 2019 15:20:44
Problema Abba Status done
Runda Junior Challenge 2019 Runda 2 Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int get1(int, int)': main.cpp:32:22: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] return ((hsh1[r] - (1LL * hsh1[l - 1] * pw1[r - l + 1]) & (MOD1 - 1)) + MOD1) & (MOD1 - 1); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int get2(int, int)': main.cpp:37:22: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] return ((hsh2[r] - (1LL * hsh2[l - 1] * pw2[r - l + 1]) & (MOD2 - 1)) + MOD2) % (MOD2 - 1); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:52:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&q); ^ main.cpp:55:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%s " ,str); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
122ms8126kbOK1010
252ms8126kbOK1020
352ms8126kbOK10
426ms8126kbOK1010
539ms9043kbOK1030
637ms8912kbOK10
744ms8912kbOK10
8174ms9699kbIncorect00
9252ms12582kbTime limit exceeded0
10205ms9961kbOK10
Punctaj total70

Ceva nu functioneaza?