Borderou de evaluare (job #2885617)

Utilizator PetyAlexandru Peticaru Pety Data 6 aprilie 2022 12:24:45
Problema Meow Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void calc_dp(int)': main.cpp:22:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int i = 0; i < dp[it].size(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp:28:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | else if (L - change[nod][0] >= dp[nod].size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:35:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if (L - change[nod][1] >= dp[nod].size()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:46:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | if (L - a[nod] == dp[nod].size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:48:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (L - a[nod] < dp[nod].size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:96:22: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 96 | if (dp[0].size() == L) | ~~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms6729kbIncorect0
211ms6934kbIncorect0
36ms6844kbIncorect0
45ms6729kbIncorect0
512ms6963kbOK5
611ms6991kbIncorect0
78ms6963kbIncorect0
89ms7049kbIncorect0
921ms7122kbIncorect0
1019ms7225kbOK5
1188ms10350kbIncorect0
12100ms12861kbIncorect0
13173ms12787kbIncorect0
14162ms15040kbIncorect0
1596ms12877kbIncorect0
16117ms12382kbIncorect0
17228ms16355kbIncorect0
18156ms15826kbIncorect0
19175ms17760kbIncorect0
20135ms15331kbIncorect0
Punctaj total10

Ceva nu functioneaza?