Borderou de evaluare (job #1381097)

Utilizator alexandru.ghergutAlexandru-Gabriel Ghergut alexandru.ghergut Data 8 martie 2015 11:33:34
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
10ms428kbOK1010
24ms460kbOK1010
3980ms4328kbOK100
4Depăşit4296kbTime limit exceeded.0
5Depăşit4296kbTime limit exceeded.00
6Depăşit4296kbTime limit exceeded.00
71460ms4328kbOK1010
82276ms4324kbOK1020
92196ms4328kbOK10
10Depăşit4292kbTime limit exceeded.00
Punctaj total50

Ceva nu functioneaza?