Borderou de evaluare (job #3346847)

Utilizator Horia_haivasHaivas Horia Horia_haivas Data 15 martie 2026 12:41:48
Problema Ghiozdan Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'bool can_find(int, int)': main.cpp:31:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<short int, short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | if (r+pas<cate[obj].size() && cate[obj][r+pas].first<=w) | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int get_idx(int, int)': main.cpp:50:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<short int, short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | if (r+pas<cate[obj].size() && cate[obj][r+pas].first<=w) | ~~~~~^~~~~~~~~~~~~~~~~ In function 'int get_idx(int, int)', inlined from 'int main()' at main.cpp:111:26: main.cpp:50:36: warning: 'bigw' may be used uninitialized [-Wmaybe-uninitialized] 50 | if (r+pas<cate[obj].size() && cate[obj][r+pas].first<=w) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:66:23: note: 'bigw' was declared here 66 | int n,g,i,j,mod,w,bigw,nush; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbOK10
20ms557kbOK10
320ms1511kbOK10
463ms4542kbSolutie gresita6
567ms3207kbSolutie gresita6
614ms1503kbOK10
757ms1421kbSolutie gresita6
882ms1839kbSolutie gresita6
987ms1949kbSolutie gresita6
1072ms20992kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?