Pagini recente » Borderou de evaluare (job #2021603) | Borderou de evaluare (job #26582) | Borderou de evaluare (job #1274053) | Borderou de evaluare (job #783253) | Borderou de evaluare (job #2081864)
Borderou de evaluare (job #2081864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:68: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
hsh[i - l + 1] = (hsh[i - l] - p26[l - 1] * (s[i - l] - 'a') & (MOD - 1) + MOD) & (MOD - 1);
^
user.cpp:14:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triopalindrom.in", "r", stdin);
^
user.cpp:15:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triopalindrom.out", "w", stdout);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 456kb | OK | 10 | 100 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | 0ms | 460kb | OK | 10 |
| 4 | 0ms | 460kb | OK | 10 |
| 5 | 12ms | 464kb | OK | 10 |
| 6 | 60ms | 476kb | OK | 10 |
| 7 | 52ms | 476kb | OK | 10 |
| 8 | 52ms | 480kb | OK | 10 |
| 9 | 56ms | 476kb | OK | 10 |
| 10 | 52ms | 476kb | OK | 10 |
| Punctaj total | 100 |