Borderou de evaluare (job #1307685)
Utilizator | Data | 2 ianuarie 2015 17:47:55 | |
---|---|---|---|
Problema | Proc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int verif(unsigned int)’:
user.cpp:10:5: error: expected initializer before ‘for’
for(i=p;i>0;i--)
^
user.cpp:10:14: warning: statement has no effect [-Wunused-value]
for(i=p;i>0;i--)
^
user.cpp:10:20: error: expected ‘;’ before ‘)’ token
for(i=p;i>0;i--)
^
user.cpp:8:20: warning: unused variable ‘spe’ [-Wunused-variable]
unsigned int i,spe=k,dbe=n-k,T
^
user.cpp:8:26: warning: unused variable ‘dbe’ [-Wunused-variable]
unsigned int i,spe=k,dbe=n-k,T
^
user.cpp:47:5: error: expected ‘}’ at end of input
}
^
user.cpp:47:5: warning: no return statement in function returning non-void [-Wreturn-type]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !