Borderou de evaluare (job #1489547)

Utilizator chiriacandrei25Chiriac Andrei chiriacandrei25 Data 21 septembrie 2015 15:49:37
Problema Rotatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:197:21: warning: unused variable ‘S’ [-Wunused-variable] long long sum=0,S,M; ^ user.cpp:197:23: warning: unused variable ‘M’ [-Wunused-variable] long long sum=0,S,M; ^ user.cpp: In function ‘T* Merge(T*, T*)’: user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp: In function ‘std::pair<T*, T*> Split(T*, int)’: user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here int kk; ^ user.cpp: In function ‘void Inf(T*, int, int, long long int, int)’: user.cpp:115:50: warning: ‘kk’ may be used uninitialized in this function [-Wmaybe-uninitialized] nod->minn=Minn(nod->left,kk); nod->poz=kk; ^ user.cpp:111:9: note: ‘kk’ was declared here
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbOK10
256ms2528kbOK10
384ms3588kbOK10
484ms3596kbOK10
5316ms9900kbOK10
644ms1164kbRaspuns gresit20
788ms3428kbOK10
896ms2708kbOK10
9348ms8100kbOK10
10336ms8232kbOK10
Punctaj total90

Ceva nu functioneaza?