Borderou de evaluare (job #1360291)
Utilizator | Data | 25 februarie 2015 13:33:35 | |
---|---|---|---|
Problema | Convertor | Status | done |
Runda | rosedu_cdl_2015 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:13: warning: unused variable ‘end’ [-Wunused-variable]
int begin, end;
^
user.c:9:6: warning: unused variable ‘begin’ [-Wunused-variable]
int begin, end;
^
user.c: At top level:
user.c:61:13: error: expected ‘)’ before string constant
fscanf(in, " [ { ");
^
user.c:62:2: error: expected identifier or ‘(’ before ‘while’
while (1) {
^
user.c:74:15: error: expected ‘)’ before string constant
fprintf(out, "\n");
^
user.c:77:12: error: expected ‘)’ before numeric constant
fseek(in, 0, SEEK_SET);
^
user.c:78:13: error: expected ‘)’ before string constant
fscanf(in, " [ { ");
^
user.c:80:2: error: expected identifier or ‘(’ before ‘while’
while(1) {
^
user.c:104:2: error: expected identifier or ‘(’ before ‘return’
return 0;
^
user.c:105:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
user.c: In function ‘main’:
user.c:15:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, " [ { ");
^
user.c:17:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, " \" ");
^
user.c:22:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, " \" : ");
^
user.c:24:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%*[\"A-Za-z0-9. ]");
^
user.c:26:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, " , ");
^
user.c:32:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, " [ { ");
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !