Borderou de evaluare (job #1660371)
Utilizator | Data | 23 martie 2016 00:16:51 | |
---|---|---|---|
Problema | Magic | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘write’:
user.c:143:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(stdout, "%d", answer[result[val][j]]);
^
user.c:147:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(stdout, "%d", answer[result[j][val]]);
^
user.c: In function ‘main’:
user.c:158:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &task, &N);
^
user.c:161:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &val);
^
user.c:175:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic.out", "w", stdout);
^
/tmp/ccZULZyn.o: In function `main':
user.c:(.text.startup+0x499): undefined reference to `bkt'
collect2: error: ld returned 1 exit status
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !