Borderou de evaluare (job #2906659)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 26 mai 2022 22:53:16
Problema Algoritmul lui Gauss Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In member function 'bool ecuatie::solved_by(const std::__debug::vector<double>&)': main.cpp:22:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for(int i = 0; i < coef.size(); i++) sum += coef[i] * sol[i]; | ~~^~~~~~~~~~~~~ main.cpp: In function 'ecuatie operator*(data, const ecuatie&)': main.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int i = 0; i < ret.coef.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'ecuatie operator+(const ecuatie&, const ecuatie&)': main.cpp:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | for(int i = 0; i < ret.coef.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'void sistem::simplify()': main.cpp:90:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 90 | if(i < ecuatii[j].coef.size() && abs(ecuatii[j].coef[i]) > EPS) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:100:39: warning: comparison of integer expressions of different signedness: 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 100 | if(ecuatii[i].coef.size() <= i || abs(ecuatii[i].coef[i]) < EPS ) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:118:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | if(i < ecuatii[oi].coef.size()) ecuatii[oi] = ecuatii[oi] + (-ecuatii[oi].coef[i]) * ecuatii[i]; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:121:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<double, std::allocator<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | if(i < solution.size()) solution[i] = ecuatii[i].rez; | ~~^~~~~~~~~~~~~~~~~ main.cpp:84:19: warning: unused variable 'vars' [-Wunused-variable] 84 | const int vars = ecuatii[0].coef.size(); // numarul de necunoscute | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms307kbOK, eroare maxima 0.000000000510
21ms184kbOK, eroare maxima 0.0000000015
31ms184kbOK, eroare maxima 0.000000000510
42ms184kbOK, eroare maxima 0.0000000005
512ms184kbOK, eroare maxima 0.000000000520
614ms294kbOK, eroare maxima 0.0000000005
71ms184kbOK, eroare maxima 0.0000000005
81ms184kbOK, eroare maxima 0.0000000165
913ms307kbOK, eroare maxima 0.000000000520
1014ms307kbOK, eroare maxima 0.0000004335
1125ms249kbOK, eroare maxima 0.0000000725
1219ms307kbOK, eroare maxima 0.0000001085
13140ms581kbOK, eroare maxima 0.000000000520
1489ms614kbOK, eroare maxima 0.0000125185
15119ms626kbOK, eroare maxima 0.0000858525
16123ms647kbOK, eroare maxima 0.0005110455
17237ms974kbOK, eroare maxima 0.00000000050
18349ms1019kbOK, eroare maxima 0.0003375905
19254ms999kbOK, eroare maxima 0.0002917135
20403ms970kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?