Pagini recente » Borderou de evaluare (job #493853) | Borderou de evaluare (job #897819) | Borderou de evaluare (job #637898) | Borderou de evaluare (job #2917834) | Borderou de evaluare (job #1921992)
Borderou de evaluare (job #1921992)
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 + 1 + MAX_P + 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 | 268kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 0ms | 272kb | OK | 10 |
| 8 | 0ms | 316kb | OK | 10 |
| 9 | 0ms | 312kb | OK | 10 |
| 10 | 0ms | 312kb | OK | 10 |
| Punctaj total | 100 |