Borderou de evaluare (job #1382011)

Utilizator alexandru.ghergutAlexandru-Gabriel Ghergut alexandru.ghergut Data 8 martie 2015 13:48:22
Problema K-BubbleSort Status done
Runda Algoritmiada 2015 - Runda 2, Juniori Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void bubbleSort(int*, int, int)’: user.cpp:14:55: warning: operation on ‘*(a + ((((sizetype)i) + 1u) * 4u))’ may be undefined [-Wsequence-point] a[i] = a[i] ^ a[i + 1] ^ (a[i + 1] = a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:11:9: warning: ‘lastSwap’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = 0; i < l; i++) ^ user.cpp:8:9: note: ‘lastSwap’ was declared here int lastSwap; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓10ms420kbOK1010
✗24ms460kbOK1010
✗3972ms4324kbOK100
✓4Depăşit4296kbTime limit exceeded.0
✗5Depăşit4296kbTime limit exceeded.00
✗6Depăşit4296kbTime limit exceeded.00
✗71444ms4328kbOK1010
✓82272ms4324kbOK1020
✗92192ms4324kbOK10
✗10Depăşit4292kbTime limit exceeded.00
Punctaj total50

Ceva nu functioneaza?