Pagini recente » Borderou de evaluare (job #989931) | Borderou de evaluare (job #857562) | Borderou de evaluare (job #1199290) | Borderou de evaluare (job #1214384) | Borderou de evaluare (job #1117522)
Borderou de evaluare (job #1117522)
Raport evaluator
Compilare:
user.cpp: In function ‘int gr1()’:
user.cpp:18:22: warning: unused variable ‘q’ [-Wunused-variable]
int semn=1,x=0,j,q,rr;
^
user.cpp: In function ‘int gr2()’:
user.cpp:49:13: warning: unused variable ‘r1’ [-Wunused-variable]
float q,r1,r2,x,y;
^
user.cpp:49:16: warning: unused variable ‘r2’ [-Wunused-variable]
float q,r1,r2,x,y;
^
user.cpp: In function ‘int gr1()’:
user.cpp:39:9: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
r=(c-b)/a;
^
user.cpp:39:14: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
r=(c-b)/a;
^
user.cpp: In function ‘int gr2()’:
user.cpp:75:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c-=d;
^
user.cpp:77:10: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x=(-b+sqrt(q))/(2*a);
^
user.cpp:76:12: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
q=b*b-4*a*c;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 4ms | 256kb | OK | 10 |
5 | 12ms | 320kb | OK | 10 |
6 | 0ms | 260kb | Gresit! | 6 |
7 | 48ms | 316kb | OK | 10 |
8 | 72ms | 312kb | OK | 10 |
9 | 4ms | 280kb | OK | 10 |
10 | 4ms | 280kb | OK | 10 |
Punctaj total | 96 |