Pagini recente » Borderou de evaluare (job #255157) | Borderou de evaluare (job #218058) | Borderou de evaluare (job #2438232) | Borderou de evaluare (job #1374043) | Borderou de evaluare (job #2436030)
Borderou de evaluare (job #2436030)
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);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 22ms | 8126kb | OK | 10 | 10 |
✓ | 2 | 49ms | 8126kb | OK | 10 | 20 |
✓ | 3 | 49ms | 8126kb | OK | 10 |
✓ | 4 | 25ms | 8126kb | OK | 10 | 10 |
✓ | 5 | 39ms | 9043kb | OK | 10 | 30 |
✓ | 6 | 37ms | 8912kb | OK | 10 |
✓ | 7 | 43ms | 9043kb | OK | 10 |
✓ | 8 | 142ms | 9568kb | Incorect | 0 | 0 |
✓ | 9 | 223ms | 12582kb | OK | 10 |
✓ | 10 | 155ms | 9961kb | OK | 10 |
Punctaj total | 70 |