Borderou de evaluare (job #1432094)

Utilizator andrei.ion_324CCAndrei Ion andrei.ion_324CC Data 9 mai 2015 11:47:00
Problema Secv1 Status done
Runda test_practic_pa_1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int calculate_max_secv(std::vector<bool>, int)’: user.cpp:29:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = k + 1; i < bits.size(); i++) ^ user.cpp:34:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + j < bits.size()) ^ user.cpp:36:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((i + j < bits.size()) && bits[i + j] == 1) ^ user.cpp: In function ‘int flip(std::vector<bool>)’: user.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < bits.size(); i++) ^ user.cpp:77:10: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] bits[poz] = 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms352kbKilled by signal 11(SIGSEGV).0
20ms356kbKilled by signal 11(SIGSEGV).0
30ms352kbKilled by signal 11(SIGSEGV).0
40ms352kbKilled by signal 11(SIGSEGV).0
50ms352kbKilled by signal 11(SIGSEGV).0
60ms348kbKilled by signal 11(SIGSEGV).0
70ms348kbKilled by signal 11(SIGSEGV).0
80ms348kbKilled by signal 11(SIGSEGV).0
90ms352kbKilled by signal 11(SIGSEGV).0
100ms348kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?