Borderou de evaluare (job #594592)

Utilizator avatar deer Mohanu Dominic deer IP ascuns
Problemă Cartier (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 apr. 2021 13:01:26 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:61: warning: variable 'lmax' set but not used [-Wunused-but-set-variable] 21 | int n, a, k, dif, difmin, d1, d2, h, l, ap, maxi, s, c, lmax, lungime, pasi, x; | ^~~~ main.cpp:21:67: warning: unused variable 'lungime' [-Wunused-variable] 21 | int n, a, k, dif, difmin, d1, d2, h, l, ap, maxi, s, c, lmax, lungime, pasi, x; | ^~~~~~~ main.cpp:21:82: warning: variable 'x' set but not used [-Wunused-but-set-variable] 21 | int n, a, k, dif, difmin, d1, d2, h, l, ap, maxi, s, c, lmax, lungime, pasi, x; | ^ main.cpp:85:11: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 85 | cout<<c; | ^ main.cpp:57:15: warning: 'ap' may be used uninitialized in this function [-Wmaybe-uninitialized] 57 | cout<<ap<<'\n'<<s<<'\n'; | ^~~~ main.cpp:21:35: warning: 'd2' may be used uninitialized in this function [-Wmaybe-uninitialized] 21 | int n, a, k, dif, difmin, d1, d2, h, l, ap, maxi, s, c, lmax, lungime, pasi, x; | ^~ main.cpp:21:31: warning: 'd1' may be used uninitialized in this function [-Wmaybe-uninitialized] 21 | int n, a, k, dif, difmin, d1, d2, h, l, ap, maxi, s, c, lmax, lungime, pasi, x; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
2 12 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
3 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
4 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
5 1 ms 389 kb a) OK; b) OK; c) rezultat incorect 7
6 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
7 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
8 1 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
9 2 ms 131 kb a) OK; b) OK; c) rezultat incorect 7
10 9 ms 262 kb a) OK; b) OK; c) rezultat incorect 7
Punctaj total 70