Borderou de evaluare (job #3125524)

Utilizator Razvan48Capatina Razvan Nicolae Razvan48 Data 3 mai 2023 16:55:59
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:76: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] 76 | for (int i = 0; i < graf[nod].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void preCalcRMQ()': main.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | for (int i = 1; i < liniarizare.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for (int i = 1; i < liniarizare.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:107:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 107 | for (int i = 1; i + (1 << l) - 1 < liniarizare.size(); ++i) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:164:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | for (int i = 0; i < muchii.size(); ++i) | ~~^~~~~~~~~~~~~~~ main.cpp:166:32: warning: pointer to a function used in arithmetic [-Wpointer-arith] 166 | if (getTata[muchii[i].x] != getTata[muchii[i].y]) | ^ main.cpp:166:56: warning: pointer to a function used in arithmetic [-Wpointer-arith] 166 | if (getTata[muchii[i].x] != getTata[muchii[i].y]) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
31ms819kbIncorect0
44ms1605kbIncorect0
58ms3112kbIncorect0
69ms4648kbIncorect0
79ms4685kbOK10
89ms6782kbOK10
914ms7393kbOK10
1014ms6680kbIncorect0
Punctaj total30

Ceva nu functioneaza?