Borderou de evaluare (job #1342474)
Utilizator | Data | 14 februarie 2015 01:40:05 | |
---|---|---|---|
Problema | Convertor | Status | done |
Runda | rosedu_cdl_2015 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘hasAlphanumerical’:
user.c:10:5: warning: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration]
if (isalnum(*s))
^
user.c: In function ‘trimLeadingChars’:
user.c:24:32: error: ‘end’ undeclared (first use in this function)
while(last > s && !isalnum(*end))
^
user.c:24:32: note: each undeclared identifier is reported only once for each function it appears in
user.c: In function ‘main’:
user.c:39:5: warning: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
keys[0] = strdup("");
^
user.c:39:13: warning: assignment makes pointer from integer without a cast [enabled by default]
keys[0] = strdup("");
^
user.c:57:41: warning: assignment makes pointer from integer without a cast [enabled by default]
keys[index / 2] = strdup(token);
^
user.c:63:43: warning: assignment makes pointer from integer without a cast [enabled by default]
values[index / 2 - 1] = strdup(token);
^
user.c:34:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("convertor.in", "r", stdin);
^
user.c:35:12: 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 !