Borderou de evaluare (job #3223555)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 13 aprilie 2024 13:08:45
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: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
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
52ms557kbOK!10
68ms1343kbOK!10
79ms3272kbOK!10
814ms3448kbOK!10
914ms3375kbOK!10
109ms1867kbOK!10
Punctaj total100

Ceva nu functioneaza?