Borderou de evaluare (job #1489544)

Utilizator chiriacandrei25Chiriac Andrei chiriacandrei25 Data 21 septembrie 2015 15:43:55
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
10ms428kbOK10
248ms2552kbOK10
380ms3604kbOK10
476ms3612kbOK10
5292ms9920kbOK10
644ms1180kbRaspuns gresit20
780ms3448kbOK10
892ms2732kbOK10
9348ms8120kbOK10
10344ms8248kbOK10
Punctaj total90

Ceva nu functioneaza?