Borderou de evaluare (job #2436030)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 iulie 2019 15:21:28
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
✓249ms8126kbOK1020
✓349ms8126kbOK10
✓425ms8126kbOK1010
✓539ms9043kbOK1030
✓637ms8912kbOK10
✓743ms9043kbOK10
✓8142ms9568kbIncorect00
✓9223ms12582kbOK10
✓10155ms9961kbOK10
Punctaj total70

Ceva nu functioneaza?