Borderou de evaluare (job #2885624)

Utilizator PetyAlexandru Peticaru Pety Data 6 aprilie 2022 12:33:16
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:47:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (L - a[nod] == dp[nod].size()) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:49:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | if (L - a[nod] < dp[nod].size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:97:22: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 97 | if (dp[0].size() == L) | ~~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms6729kbIncorect0
219ms6860kbIncorect0
37ms6914kbIncorect0
412ms6836kbIncorect0
518ms6959kbOK5
69ms6905kbIncorect0
710ms6946kbIncorect0
818ms7036kbIncorect0
910ms7041kbIncorect0
1011ms7254kbOK5
1166ms10330kbIncorect0
1265ms12808kbIncorect0
1382ms12763kbIncorect0
14119ms14983kbIncorect0
15114ms12890kbIncorect0
16119ms12365kbIncorect0
17242ms16371kbIncorect0
18156ms15900kbIncorect0
19247ms17833kbIncorect0
20164ms15282kbIncorect0
Punctaj total10

Ceva nu functioneaza?