Borderou de evaluare (job #999471)
Utilizator | Data | 20 septembrie 2013 15:16:47 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int ultimacifra(int)’:
user.cpp:14:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( uc==2 )
^
user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( uc==3 )
^
user.cpp:28:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( uc==7 )
^
user.cpp: In function ‘int main()’:
user.cpp:46:34: error: ‘strlen’ was not declared in this scope
for(int j=0; j<=(strlen(c)-1); j++)
^
user.cpp:39:9: warning: unused variable ‘v’ [-Wunused-variable]
int v[30000],n,s=0;
^
user.cpp: In function ‘int ultimacifra(int)’:
user.cpp:35: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 !