Pagini recente » Borderou de evaluare (job #2291198) | Borderou de evaluare (job #2057858) | Borderou de evaluare (job #1934061) | Borderou de evaluare (job #1070280) | Borderou de evaluare (job #2436028)
Borderou de evaluare (job #2436028)
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 | 52ms | 8126kb | OK | 10 | 20 |
✓ | 3 | 52ms | 8126kb | OK | 10 |
✓ | 4 | 26ms | 8126kb | OK | 10 | 10 |
✓ | 5 | 39ms | 9043kb | OK | 10 | 30 |
✓ | 6 | 37ms | 8912kb | OK | 10 |
✓ | 7 | 44ms | 8912kb | OK | 10 |
✓ | 8 | 174ms | 9699kb | Incorect | 0 | 0 |
✓ | 9 | 252ms | 12582kb | Time limit exceeded | 0 |
✓ | 10 | 205ms | 9961kb | OK | 10 |
Punctaj total | 70 |