Borderou de evaluare (job #1359764)
Utilizator | Data | 25 februarie 2015 02:13:34 | |
---|---|---|---|
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:78:43: error: expected ‘)’ before ‘;’ token
char *jsonObject = calloc(0, sizeof(char);
^
user.c:123:1: error: expected ‘,’ or ‘;’ before ‘}’ token
}
^
user.c:123:1: error: expected declaration or statement at end of input
user.c:78:8: warning: unused variable ‘jsonObject’ [-Wunused-variable]
char *jsonObject = calloc(0, sizeof(char);
^
user.c:77:7: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.c:74:8: warning: unused variable ‘jsonFile’ [-Wunused-variable]
FILE *jsonFile = fopen("convertor.in", "r");
^
user.c:75:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("convertor.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !