Borderou de evaluare (job #3223557)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 13 aprilie 2024 13:09:43
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
52ms557kbOK!10
68ms1347kbOK!10
79ms3272kbOK!10
814ms3457kbOK!10
914ms3407kbOK!10
109ms1867kbOK!10
Punctaj total100

Ceva nu functioneaza?