Borderou de evaluare (job #1371855)

Utilizator dumbraveanbDumbravean Bogdan dumbraveanb Data 4 martie 2015 09:34:48
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2;i<=n;i++) ^ user.cpp:10:38: warning: unused variable ‘p’ [-Wunused-variable] unsigned long long max1=0,max2=0,p,s=0,n,x,a,n1,n2,n3,n4,in=0,max3=0,b=0,m1,m2,m3; ^ user.cpp:10:62: warning: variable ‘in’ set but not used [-Wunused-but-set-variable] unsigned long long max1=0,max2=0,p,s=0,n,x,a,n1,n2,n3,n4,in=0,max3=0,b=0,m1,m2,m3; ^ user.cpp:23:23: warning: ‘m3’ may be used uninitialized in this function [-Wmaybe-uninitialized] else fout<<s-m1-m2-m3+max3; ^ user.cpp:23:27: warning: ‘m2’ may be used uninitialized in this function [-Wmaybe-uninitialized] else fout<<s-m1-m2-m3+max3; ^ user.cpp:23:17: warning: ‘m1’ may be used uninitialized in this function [-Wmaybe-uninitialized] else fout<<s-m1-m2-m3+max3; ^ user.cpp:22:34: warning: ‘n2’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(max1+max2>max3) fout<<s-n1-n2-n3-n4+max1+max2; ^ user.cpp:10:59: warning: ‘n4’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned long long max1=0,max2=0,p,s=0,n,x,a,n1,n2,n3,n4,in=0,max3=0,b=0,m1,m2,m3; ^ user.cpp:22:31: warning: ‘n1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(max1+max2>max3) fout<<s-n1-n2-n3-n4+max1+max2; ^ user.cpp:10:56: warning: ‘n3’ may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned long long max1=0,max2=0,p,s=0,n,x,a,n1,n2,n3,n4,in=0,max3=0,b=0,m1,m2,m3; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbOK10
20ms400kbOK10
30ms400kbOK10
40ms404kbOK10
50ms396kbOK10
60ms404kbOK10
70ms400kbOK10
80ms404kbOK10
90ms404kbOK10
100ms396kbOK10
Punctaj total100

Ceva nu functioneaza?