Borderou de evaluare (job #1581277)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 26 ianuarie 2016 18:21:29
Problema Tri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int Under(Elem, Elem, Elem)’: user.cpp:75:95: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] return (unsigned long long)a.x*b.y+(unsigned long long)b.x*c.y+(unsigned long long)c.x*a.y>(unsigned long long)a.y*b.x+(unsigned long long)b.y*c.x+(unsigned long long)c.y*a.x>0; ^ user.cpp: In function ‘void solveQuery(int, int, int)’: user.cpp:79:24: warning: variable ‘p’ set but not used [-Wunused-but-set-variable] int Max=Array[a].y,p=a,p2,Max2=0,Min=0x3f3f3f3f,pMin,pMax; ^ user.cpp:79:28: warning: unused variable ‘p2’ [-Wunused-variable] int Max=Array[a].y,p=a,p2,Max2=0,Min=0x3f3f3f3f,pMin,pMax; ^ user.cpp:118:50: warning: ‘pMin’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(Under(Array[pMin],Array[b],Array[pMax])==0) ^ user.cpp:118:50: warning: ‘pMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms560kbOK10
2188ms4396kbOK10
34ms848kbOK10
4716ms4396kbOK10
5704ms4400kbIncorect0
6176ms840kbIncorect0
7284ms4400kbOK10
8188ms2428kbOK10
9320ms4392kbOK10
10328ms4348kbOK10
Punctaj total80

Ceva nu functioneaza?