Borderou de evaluare (job #3299457)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 6 iunie 2025 18:22:49
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for(int i = 0; i < c.size(); i++){ | ~~^~~~~~~~~~ main.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | for(int j = 0; j < c.size(); j++){ | ~~^~~~~~~~~~ main.cpp:51:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(int i = 0; i + 1 < c.size(); i++){ | ~~~~~~^~~~~~~~~~ main.cpp:62:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for(int j = 0; j <= c.size() - i; j++){ | ~~^~~~~~~~~~~~~~~ main.cpp:68:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 68 | for(int i = 0; i < c.size(); i++){ | ~~^~~~~~~~~~ main.cpp:71:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 71 | if(i + 1 < c.size()) dp[nod][0] = max(dp[nod][0], dp1[i][x] + dp2[i + 1][x]); | ~~~~~~^~~~~~~~~~ main.cpp:74:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 74 | if(i > 0 && i + 1 < c.size()) val += dp1[i - 1][x] + dp2[i + 1][x]; | ~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbRaspuns gresit0
20ms1081kbRaspuns gresit0
31ms2392kbRaspuns gresit0
42ms4227kbRaspuns gresit0
53ms4227kbRaspuns gresit0
63ms3969kbRaspuns gresit0
74ms6062kbRaspuns gresit0
83ms4227kbRaspuns gresit0
94ms5804kbRaspuns gresit0
104ms5013kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?