Borderou de evaluare (job #3199780)

Utilizator ioanabaduIoana Badu ioanabadu Data 2 februarie 2024 17:47:23
Problema Subsiruri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void f(int)': main.cpp:26:24: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 26 | if (leftArr.size() == halfSize && rightArr.size() == halfSize){ | ~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:26:55: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 26 | if (leftArr.size() == halfSize && rightArr.size() == halfSize){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:31:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int i=0; i<leftArr.size() && ok == 1; ++i){ | ~^~~~~~~~~~~~~~~ main.cpp:38:24: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 38 | if (correct.size() == halfSize){ // am gasit desa sirul care trebuie format | ~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:39:28: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 39 | if (leftArr.size() < halfSize){ | ~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:45:29: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 45 | if (rightArr.size() < halfSize){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:53:28: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 53 | if (leftArr.size() < halfSize){ | ~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:58:29: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 58 | if (rightArr.size() < halfSize){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
20ms303kbOK10
30ms303kbOK10
459ms303kbOK10
5203ms303kbTime limit exceeded0
6203ms303kbTime limit exceeded0
7203ms303kbTime limit exceeded0
8203ms303kbTime limit exceeded0
9202ms303kbTime limit exceeded0
10203ms303kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?