Borderou de evaluare (job #3125522)

Utilizator Razvan48Capatina Razvan Nicolae Razvan48 Data 3 mai 2023 16:48:33
Problema Radiatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int, int, int)': main.cpp:75:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | for (int i = 0; i < graf[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void preCalcRMQ()': main.cpp:90:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 90 | for (int i = 1; i < liniarizare.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:101:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | for (int i = 1; i < liniarizare.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:106:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | for (int i = 1; i + (1 << l) - 1 < liniarizare.size(); ++i) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:163:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 163 | for (int i = 0; i < muchii.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:165:32: warning: pointer to a function used in arithmetic [-Wpointer-arith] 165 | if (getTata[muchii[i].x] != getTata[muchii[i].y]) | ^ main.cpp:165:56: warning: pointer to a function used in arithmetic [-Wpointer-arith] 165 | if (getTata[muchii[i].x] != getTata[muchii[i].y]) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
31ms819kbIncorect0
44ms1605kbIncorect0
57ms3112kbIncorect0
69ms4423kbIncorect0
79ms4726kbOK10
89ms6782kbOK10
914ms7446kbOK10
1014ms6520kbIncorect0
Punctaj total30

Ceva nu functioneaza?