Borderou de evaluare (job #3036987)

Utilizator zagonimathiasZagoni Matyas Elemer zagonimathias Data 25 martie 2023 11:56:55
Problema Reordonarea șirurilor de biți Status done
Runda Universitatea Tehnică din Cluj-Napoca - 2023 - Concurs Compilator cpp-64
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int Starter(const std::vector<int>&, const std::vector<int>&)': main.cpp:12:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | for (int i = 0; i < bits.size(); ++i) | ~~^~~~~~~~~~~~~ main.cpp:23:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | for (int i = 0; i < span.size(); ++i) | ~~^~~~~~~~~~~~~ main.cpp:32:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 32 | if (acc0 = cnt[0]) | ~~~~~^~~~~~~~ main.cpp: In function 'int replaceWithNearest(std::vector<int>&, int)': main.cpp:43:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | while (j < bits.size() && bits[i] == bits[j]) | ~~^~~~~~~~~~~~~ main.cpp: In function 'int constructBits(std::vector<int>&, const std::vector<int>&, bool)': main.cpp:58:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (int i = 0; i < targetLen.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms413kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?