Borderou de evaluare (job #2979443)

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

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 >= 3; i-- ) | ~~^~~~~~~~~~~~~~~~~ main.cpp:31:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for ( int i = 0; i < 3 && i < pos.size(); i++ ) | ~~^~~~~~~~~~~~ main.cpp:34:37: 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 = 0; i < 3 && i < neg.size(); i++ ) | ~~^~~~~~~~~~~~ main.cpp:36:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for ( int i = neg.size() - 1; i >= neg.size() - 3 && i >= 3; i-- ) | ~~^~~~~~~~~~~~~~~~~ main.cpp:44:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | for ( int b = 0; b < v.size(); b++ ) { | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms524kbOK100
Punctaj total100

Ceva nu functioneaza?