Borderou de evaluare (job #1818474)

Utilizator Deea007Andreea Deea007 Data 29 noiembrie 2016 12:07:43
Problema Orase1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int cautbin(int*, int, int, int)’: user.cpp:29:12: warning: ‘bestIdx’ may be used uninitialized in this function [-Wmaybe-uninitialized] return bestIdx; ^ user.cpp: In function ‘bool findSolution(int*, int, int, int, int&)’: user.cpp:41:39: warning: ‘bestIdx’ may be used uninitialized in this function [-Wmaybe-uninitialized] i = 1 + cautbin(x, N, j, dMax); ^ user.cpp:13:20: warning: ‘bestIdx’ may be used uninitialized in this function [-Wmaybe-uninitialized] int val = x[idx]; ^ user.cpp:12:20: note: ‘bestIdx’ was declared here int s, d, mid, bestIdx; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit376kbTime limit exceeded.00
2Depăşit384kbTime limit exceeded.00
3Depăşit772kbTime limit exceeded.00
4Depăşit1160kbTime limit exceeded.00
5Depăşit2720kbTime limit exceeded.00
6Depăşit3116kbTime limit exceeded.00
7Depăşit3508kbTime limit exceeded.00
8Depăşit3896kbTime limit exceeded.0
9Depăşit4284kbTime limit exceeded.0
10Depăşit372kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?