Pagini recente » Borderou de evaluare (job #2345431) | Borderou de evaluare (job #2877701) | Borderou de evaluare (job #3267246) | Borderou de evaluare (job #2792910) | Borderou de evaluare (job #3223555)
Borderou de evaluare (job #3223555)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:143:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | for(int i = 1; i < v.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:148:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
148 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:157:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:172:21: warning: statement has no effect [-Wunused-value]
172 | for(j; j >= 1; j --, p *= 10)
| ^
main.cpp:179:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
179 | for(int j = 1; j < v.size(); j ++)
| ~~^~~~~~~~~~
main.cpp:192:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
192 | for(int i = 2; i < v.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:197:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for(int j = i + 1; j < v.size(); j ++, p *= 10)
| ~~^~~~~~~~~~
main.cpp:207:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
207 | for(int j = 1; j < v.size(); j ++)
| ~~^~~~~~~~~~
main.cpp:215:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
215 | 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 | 1343kb | OK! | 10 |
7 | 9ms | 3272kb | OK! | 10 |
8 | 14ms | 3448kb | OK! | 10 |
9 | 14ms | 3375kb | OK! | 10 |
10 | 9ms | 1867kb | OK! | 10 |
Punctaj total | 100 |