Borderou de evaluare (job #2979436)

Utilizator LucaMihaiLM10Luca Ilie LucaMihaiLM10 Data 15 februarie 2023 08:42:52
Problema Produs4 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for ( int i = pos.size() - 1; i >= pos.size() - 3 && i >= 0; i-- ) | ~~^~~~~~~~~~~~~~~~~ main.cpp:32:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for ( int i = 0; i < 2 && i < neg.size(); i++ ) | ~~^~~~~~~~~~~~ main.cpp:34:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for ( int i = neg.size() - 1; i >= neg.size() - 3 && i >= 2; i-- ) | ~~^~~~~~~~~~~~~~~~~ main.cpp:42:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for ( int b = 0; b < v.size(); b++ ) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
153ms524kbIncorect0
Punctaj total0

Ceva nu functioneaza?