Borderou de evaluare (job #2978051)

Utilizator CristeaCristianCristea Cristian CristeaCristian Data 12 februarie 2023 20:43:01
Problema TreeGCD Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:26:18: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 26 | for(i = 0; i < v[u].size(); i++) | ~~^~~~~~~~~~~~~ main.cpp:64:26: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(x = 0; x < divs[j].size(); x++) | ~~^~~~~~~~~~~~~~~~ main.cpp:23:11: warning: unused variable 'nod' [-Wunused-variable] 23 | ll i, nod, j, x, prod, sum, gcd; | ^~~ main.cpp:23:22: warning: unused variable 'prod' [-Wunused-variable] 23 | ll i, nod, j, x, prod, sum, gcd; | ^~~~ main.cpp:23:33: warning: unused variable 'gcd' [-Wunused-variable] 23 | ll i, nod, j, x, prod, sum, gcd; | ^~~ main.cpp: In function 'int main()': main.cpp:93:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for(x = 0; x < primes.size(); x++) | ~~^~~~~~~~~~~~~~~ main.cpp:87:11: warning: unused variable 'j' [-Wunused-variable] 87 | ll i, j, a, b, x; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbCorect!6
20ms184kbCorect!7
30ms184kbCorect!10
40ms184kbCorect!10
50ms184kbCorect!10
60ms184kbCorect!10
7287ms16760kbCorect!10
8249ms15634kbCorect!11
9254ms15716kbCorect!11
10292ms16609kbCorect!11
110ms184kbCorect!4
Punctaj total100

Ceva nu functioneaza?