Borderou de evaluare (job #3210095)

Utilizator VladLuncanLuncan Vlad VladLuncan Data 4 martie 2024 20:57:38
Problema Sume de subsecvențe Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool check(int, int, std::vector<int>)': main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 13 | for (int i = 0; i < v.size(); ++i) | ~~^~~~~~~~~~ main.cpp: In function 'void solve(int&, int, int, std::vector<int>)': main.cpp:48:34: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized] 48 | fout << ++t << ':' << ans << '\n'; | ^~~~ main.cpp:31:22: note: 'ans' was declared here 31 | int right = inf, ans; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?