Borderou de evaluare (job #3223202)

Utilizator TeodoraMaria123Serban Teodora Maria TeodoraMaria123 Data 12 aprilie 2024 17:44:56
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:139:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for(int i = 1; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp:144:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for(int j = i + 1; j < v.size(); j ++, p *= 10) | ~~^~~~~~~~~~ main.cpp:153:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for(int j = i + 1; j < v.size(); j ++, p *= 10) | ~~^~~~~~~~~~ main.cpp:168:21: warning: statement has no effect [-Wunused-value] 168 | for(j; j >= 1; j --, p *= 10) | ^ main.cpp:175:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | for(int j = 1; j < v.size(); j ++) | ~~^~~~~~~~~~ main.cpp:188:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 188 | for(int i = 2; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp:193:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 193 | for(int j = i + 1; j < v.size(); j ++, p *= 10) | ~~^~~~~~~~~~ main.cpp:203:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for(int j = 1; j < v.size(); j ++) | ~~^~~~~~~~~~ main.cpp:211:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 211 | for(int j = 1; j <= v.size() - i - 1; j ++) | ~~^~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms479kbKilled by Signal 110
23ms495kbKilled by Signal 110
33ms479kbKilled by Signal 110
44ms495kbKilled by Signal 110
56ms704kbKilled by Signal 110
69ms1605kbKilled by Signal 110
716ms3485kbKilled by Signal 110
818ms3493kbKilled by Signal 110
918ms3497kbKilled by Signal 110
1013ms1961kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?