Borderou de evaluare (job #3223484)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 13 aprilie 2024 12:22:57
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
13ms434kbKilled by Signal 110
23ms442kbKilled by Signal 110
33ms438kbKilled by Signal 110
43ms434kbKilled by Signal 110
53ms434kbKilled by Signal 110
63ms442kbKilled by Signal 110
73ms446kbKilled by Signal 110
83ms438kbKilled by Signal 110
93ms430kbKilled by Signal 110
103ms434kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?