Borderou de evaluare (job #2840510)

Utilizator TudosieRazvanTudosie Marius-Razvan TudosieRazvan Data 27 ianuarie 2022 22:10:45
Problema Suma4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:39:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::vector<elem> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | if (k >= dp.size()*dp.size()) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:43:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::vector<elem> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | for (int j = 1; j <= dp.size()+1; j++) | ~~^~~~~~~~~~~~~~ main.cpp:57:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::vector<elem> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | for (int nivel = 1; nivel < dp.size(); nivel++) | ~~~~~~^~~~~~~~~~~ main.cpp:59:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<elem> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for (int i = 0; i < dp[nivel].size(); i++) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:61:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | for (int j = 0; j < dp[nivel][i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:72:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<elem> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | if (nivel - 1 >= 0 && i - 1 < dp[nivel - 1].size() && i - 1 >= 0 && j-1 < dp[nivel - 1][i - 1].size() && j - 1 >= 0 && minim > dp[nivel - 1][i - 1][j-1].sum) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:72:77: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | if (nivel - 1 >= 0 && i - 1 < dp[nivel - 1].size() && i - 1 >= 0 && j-1 < dp[nivel - 1][i - 1].size() && j - 1 >= 0 && minim > dp[nivel - 1][i - 1][j-1].sum) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:79:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<elem> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | if (nivel - 1 >= 0 && i - 1 < dp[nivel - 1].size() && i - 1 >= 0 && j < dp[nivel - 1][i - 1].size() && minim > dp[nivel - 1][i - 1][j].sum) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:79:75: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | if (nivel - 1 >= 0 && i - 1 < dp[nivel - 1].size() && i - 1 >= 0 && j < dp[nivel - 1][i - 1].size() && minim > dp[nivel - 1][i - 1][j].sum) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:86:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<elem> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | if (nivel - 1 >= 0 && i < dp[nivel - 1].size() && j - 1 < dp[nivel - 1][i].size() && j - 1 >= 0 && minim > dp[nivel - 1][i][j - 1].sum) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:86:61: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | if (nivel - 1 >= 0 && i < dp[nivel - 1].size() && j - 1 < dp[nivel - 1][i].size() && j - 1 >= 0 && minim > dp[nivel - 1][i][j - 1].sum) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:93:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<elem> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | if (nivel - 1 >= 0 && i < dp[nivel - 1].size() && j < dp[nivel - 1][i].size() && minim>dp[nivel - 1][i][j].sum) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:93:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<elem>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | if (nivel - 1 >= 0 && i < dp[nivel - 1].size() && j < dp[nivel - 1][i].size() && minim>dp[nivel - 1][i][j].sum) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:103:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::vector<elem> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | if (nivel == dp.size() - 1) | ~~~~~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
46ms417kbOK10
516ms1372kbOK10
616ms1409kbOK10
720ms1683kbOK10
825ms1798kbOK10
925ms1921kbOK10
102ms184kbOK10
Punctaj total100

Ceva nu functioneaza?