Pagini recente » Borderou de evaluare (job #456007) | Borderou de evaluare (job #3253410) | Borderou de evaluare (job #404962) | Borderou de evaluare (job #2020798) | Borderou de evaluare (job #1078747)
Borderou de evaluare (job #1078747)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (sanse_x >= 2 || sanse_x == 1 && nr_x == nr_zero)
^
user.cpp:66:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
else if (sanse_zero >= 2 || sanse_zero == 1 && nr_x > nr_zero)
^
user.cpp:12:12: warning: unused variable ‘ok’ [-Wunused-variable]
int i, j, ok, test = 0, nr_x, nr_zero, dif, sanse_x, sanse_zero, nx, n0;
^
user.cpp:12:67: warning: unused variable ‘nx’ [-Wunused-variable]
int i, j, ok, test = 0, nr_x, nr_zero, dif, sanse_x, sanse_zero, nx, n0;
^
user.cpp:12:71: warning: unused variable ‘n0’ [-Wunused-variable]
int i, j, ok, test = 0, nr_x, nr_zero, dif, sanse_x, sanse_zero, nx, n0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 340kb | Incorect | 0 |
Punctaj total | 0 |