Borderou de evaluare (job #1030530)
Utilizator | Data | 15 noiembrie 2013 16:30:45 | |
---|---|---|---|
Problema | Palin3 | Status | done |
Runda | FMI No Stress 4 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘char peek()’:
user.cpp:47:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (prim->urm!=NULL)
^
user.cpp:45:8: warning: unused variable ‘p’ [-Wunused-variable]
TNOD *p;
^
user.cpp: In function ‘int main()’:
user.cpp:64:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[101]’ [-Wformat=]
fscanf(f,"%s",&a);
^
user.cpp:66:23: error: ‘strlen’ was not declared in this scope
for (j=0; j<strlen(a); j++)
^
user.cpp: In function ‘char peek()’:
user.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !