Pagini recente » Borderou de evaluare (job #2456259) | Borderou de evaluare (job #2126261) | Borderou de evaluare (job #260130) | Borderou de evaluare (job #2119412) | Borderou de evaluare (job #1558585)
Borderou de evaluare (job #1558585)
Raport evaluator
Compilare:
user.c: In function ‘getBases’:
user.c:42:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
code[c] = c - 'a' + 1;
^
user.c:45:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
code[c] = c - 'A' + SIGMA + 1;
^
user.c:48:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
code[c] = c - '0' + (SIGMA << 1) + 2;
^
user.c: In function ‘try’:
user.c:105:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pHash = (pHash * BASE + code[s[i]]) % P;
^
user.c:106:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
eHash = (eHash * BASE + code[s[i]]) % E;
^
user.c:109:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pHash = (pHash * BASE + code[s[i]]) % P;
^
user.c:110:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
eHash = (eHash * BASE + code[s[i]]) % E;
^
user.c:114:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pHash = ((pHash - pBases[lim] * code[s[i - lim]]) % P + P) % P;
^
user.c:115:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
eHash = ((eHash - eBases[lim] * code[s[i - lim]]) % E + E) % E;
^
user.c: In function ‘main’:
user.c:138:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n%s", &N, &K, s);
^
user.c:145:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 1096kb | Incorect | 0 |
2 | 12ms | 1096kb | Incorect | 0 |
3 | 16ms | 1096kb | Incorect | 0 |
4 | 4ms | 760kb | Incorect | 0 |
5 | 12ms | 1068kb | Incorect | 0 |
6 | 12ms | 1064kb | Incorect | 0 |
7 | 0ms | 652kb | Incorect | 0 |
8 | 0ms | 656kb | Incorect | 0 |
9 | 0ms | 672kb | Incorect | 0 |
10 | 12ms | 992kb | Incorect | 0 |
Punctaj total | 0 |