Pagini recente » Borderou de evaluare (job #172381) | Borderou de evaluare (job #3242145) | Borderou de evaluare (job #1168498) | Borderou de evaluare (job #172430) | Borderou de evaluare (job #2947524)
Borderou de evaluare (job #2947524)
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 |
1 | 1ms | 184kb | OK | 5 |
2 | 0ms | 184kb | OK | 5 |
3 | 0ms | 184kb | OK | 5 |
4 | 0ms | 184kb | OK | 5 |
5 | 0ms | 184kb | OK | 5 |
6 | 0ms | 184kb | OK | 5 |
7 | 0ms | 184kb | OK | 5 |
8 | 0ms | 184kb | OK | 5 |
9 | 0ms | 184kb | OK | 5 |
10 | 0ms | 184kb | OK | 5 |
11 | 0ms | 184kb | OK | 5 |
12 | 0ms | 184kb | OK | 5 |
13 | 0ms | 184kb | OK | 5 |
14 | 0ms | 184kb | OK | 5 |
15 | 0ms | 184kb | OK | 5 |
16 | 0ms | 184kb | OK | 5 |
17 | 0ms | 184kb | OK | 5 |
18 | 0ms | 184kb | OK | 5 |
19 | 0ms | 184kb | OK | 5 |
20 | 0ms | 184kb | OK | 5 |
Punctaj total | 100 |