Borderou de evaluare (job #3188503)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 3 ianuarie 2024 09:55:17
Problema Regine2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool validState()': main.cpp:62:25: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (short i = 0; i < pnt_arr.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:117:52: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<short int>, short int>::value_type' {aka 'short int'} and 'std::vector<pct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | while (!solGasit && pnt_arr.back() < v.size() - 1) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:125:40: warning: comparison of integer expressions of different signedness: 'std::vector<short int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 125 | if (pnt_arr.size() == ans.numberQueens) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:127:47: warning: comparison of integer expressions of different signedness: 'std::vector<short int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 127 | } else if (pnt_arr.size() > ans.numberQueens) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:131:40: warning: comparison of integer expressions of different signedness: 'std::vector<short int>::size_type' {aka 'long unsigned int'} and 'short int' [-Wsign-compare] 131 | if (pnt_arr.size() <= nr_lib) { | ~~~~~~~~~~~~~~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms425kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?