Borderou de evaluare (job #2947524)

Utilizator andu2006Alexandru Gheorghies andu2006 Data 26 noiembrie 2022 11:21:50
Problema Gard2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'bool bigInt::operator>=(bigInt)': main.cpp:114:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 114 | for(int i=0;i<data.size();i++){ | ~^~~~~~~~~~~~ main.cpp: In member function 'std::string bigInt::to_string()': main.cpp:143:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 143 | for(int i=0;i<data.size();i++){ | ~^~~~~~~~~~~~ main.cpp:147:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 147 | if(i+1<data.size()){ | ~~~^~~~~~~~~~~~ main.cpp: In member function 'bigInt bigInt::operator*(int)': main.cpp:159:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 159 | for(int i=1;i<p.size();i++){ | ~^~~~~~~~~ main.cpp:160:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 160 | p[i]=(i<data.size()?data[i]:0ll)*x+p[i-1]/base; | ~^~~~~~~~~~~~ main.cpp: In member function 'bigInt bigInt::operator*(bigInt)': main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 169 | for(int i=0;i<data.size();i++){ | ~^~~~~~~~~~~~ main.cpp:170:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 170 | for(int j=0;j<b.size();j++){ | ~^~~~~~~~~ main.cpp: In function 'std::ostream& operator<<(std::ostream&, bigInt)': main.cpp:190:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 190 | if(i+1<x.size()){ | ~~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
20ms184kbOK5
30ms184kbOK5
40ms184kbOK5
50ms184kbOK5
60ms184kbOK5
70ms184kbOK5
80ms184kbOK5
90ms184kbOK5
100ms184kbOK5
110ms184kbOK5
120ms184kbOK5
130ms184kbOK5
140ms184kbOK5
150ms184kbOK5
160ms184kbOK5
170ms184kbOK5
180ms184kbOK5
190ms184kbOK5
200ms184kbOK5
Punctaj total100

Ceva nu functioneaza?