Borderou de evaluare (job #2979903)

Utilizator LupuRaduLupu Sebastian-Radu LupuRadu Data 16 februarie 2023 08:39:20
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:46:19: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | for(j=0; j<v[nod].size(); j++) | ~^~~~~~~~~~~~~~ main.cpp:36:10: warning: unused variable 'i' [-Wunused-variable] 36 | long i, j, nod, poz; | ^ main.cpp: In function 'int main()': main.cpp:76:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] 76 | scanf("%d%d", &n, &m); | ~^ ~~ | | | | int* long int* | %ld main.cpp:76:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] 76 | scanf("%d%d", &n, &m); | ~^ ~~ | | | | int* long int* | %ld main.cpp:79:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] 79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c); | ~^ ~~~~~~~ | | | | int* long int* | %ld main.cpp:79:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] 79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c); | ~^ ~~~~~~~ | | | | int* long int* | %ld main.cpp:79:21: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] 79 | scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c); | ~^ ~~~~~~~ | | | | int* long int* | %ld main.cpp:90:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 90 | printf("%d ", cost[i]); | ~^ ~~~~~~~ | | | | int long int | %ld
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect00
30ms184kbIncorect00
40ms184kbIncorect00
50ms184kbIncorect00
60ms184kbIncorect00
70ms184kbIncorect0
810ms2740kbIncorect00
925ms3813kbIncorect0
100ms184kbIncorect0
1115ms3522kbIncorect00
1265ms6643kbIncorect0
1343ms5386kbIncorect0
1490ms8314kbIncorect0
15115ms9953kbIncorect00
1689ms8146kbIncorect0
170ms184kbIncorect0
18137ms10678kbIncorect00
19166ms12709kbIncorect0
200ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?