Pagini recente » Borderou de evaluare (job #3123787) | Borderou de evaluare (job #2963168) | Borderou de evaluare (job #3222154) | Borderou de evaluare (job #639010) | Borderou de evaluare (job #3223557)
Borderou de evaluare (job #3223557)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:138:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | for(int i = 1; i < v.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:143:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:152:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:167:21: warning: statement has no effect [-Wunused-value]
167 | for(j; j >= 1; j --, p *= 10)
| ^
main.cpp:174:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
174 | for(int j = 1; j < v.size(); j ++)
| ~~^~~~~~~~~~
main.cpp:187:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for(int i = 2; i < v.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:192:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
192 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:202:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
202 | for(int j = 1; j < v.size(); j ++)
| ~~^~~~~~~~~~
main.cpp:210:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
210 | for(int j = 1; j <= v.size() - i - 1; j ++)
| ~~^~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK! | 10 |
2 | 0ms | 303kb | OK! | 10 |
3 | 0ms | 303kb | OK! | 10 |
4 | 0ms | 303kb | OK! | 10 |
5 | 2ms | 557kb | OK! | 10 |
6 | 8ms | 1347kb | OK! | 10 |
7 | 9ms | 3272kb | OK! | 10 |
8 | 14ms | 3457kb | OK! | 10 |
9 | 14ms | 3407kb | OK! | 10 |
10 | 9ms | 1867kb | OK! | 10 |
Punctaj total | 100 |