Pagini recente » Borderou de evaluare (job #1812412) | Borderou de evaluare (job #1876260) | Borderou de evaluare (job #354283) | Borderou de evaluare (job #785381) | Borderou de evaluare (job #1921846)
Borderou de evaluare (job #1921846)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:15:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fg[text[i] = fgetc(f) - 'a'] = 1;
^
user.c:28:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (fg[text[i]] > max) {
^
user.c:29:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
max = fg[text[i]];
^
user.c:31:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else if (max == fg[text[i]]) {
^
user.c:34:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (head[j = i + MAX_P + 1 + fg[text[i]]] < (m = i + MAX_P + 1 - fg[text[i]])) {
^
user.c:34:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:13:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.c:17:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &h);
^
user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &fg[++j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 268kb | Incorect | 0 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 0ms | 276kb | Incorect | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 276kb | Incorect | 0 |
| 8 | 0ms | 312kb | Incorect | 0 |
| 9 | 0ms | 312kb | Incorect | 0 |
| 10 | 0ms | 312kb | Incorect | 0 |
| Punctaj total | 0 |