Borderou de evaluare (job #1313061)
Utilizator | Data | 10 ianuarie 2015 11:54:32 | |
---|---|---|---|
Problema | Fibo | Status | done |
Runda | emag_cluj_liceu_avansati | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool unuzero(long int)’:
user.cpp:38:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (x % 10 == 0 || x % 10 == 1)
^
user.cpp: In function ‘int main()’:
user.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; i++)
^
user.cpp:74:14: warning: unused variable ‘k’ [-Wunused-variable]
long k;
^
user.cpp:90:1: error: expected ‘}’ at end of input
}
^
user.cpp: In function ‘bool unuzero(long int)’:
user.cpp:43: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 !