Borderou de evaluare (job #3347673)

Utilizator EricDimiCismaru Eric-Dimitrie EricDimi Data 17 martie 2026 19:32:42
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'DigitFreq& DigitFreq::operator+=(const DigitFreq&)': main.cpp:57:5: warning: no return statement in function returning non-void [-Wreturn-type] 56 | freq[i] += oth.freq[i]; +++ |+ return *this; 57 | } | ^ main.cpp: In member function 'DigitFreq& DigitFreq::operator-=(const DigitFreq&)': main.cpp:62:5: warning: no return statement in function returning non-void [-Wreturn-type] 61 | freq[i] -= oth.freq[i]; +++ |+ return *this; 62 | } | ^ main.cpp: In function 'int BinSearch(DigitFreq&, std::vector<DigitFreq>&)': main.cpp:175:12: warning: 'idx' may be used uninitialized [-Wmaybe-uninitialized] 175 | return idx; | ^~~ main.cpp:163:41: note: 'idx' was declared here 163 | int st = 0, dr = (int)v.size() - 1, idx; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms557kbKilled by Signal 110
210ms561kbKilled by Signal 110
310ms565kbKilled by Signal 110
410ms561kbKilled by Signal 110
512ms2248kbKilled by Signal 110
611ms5332kbKilled by Signal 110
711ms5300kbKilled by Signal 110
821ms8269kbKilled by Signal 110
921ms8269kbKilled by Signal 110
1021ms8265kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?